Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common: Add metadata with only Ceph version number and release #21095

Merged
merged 1 commit into from Apr 7, 2018

Conversation

wido
Copy link
Member

@wido wido commented Mar 28, 2018

This prevents consumers from this data to have to fully parse
and split the 'ceph_version' string which is prone to errors.

ceph_version_short only contains the version number (maj, min, patch)
and ceph_release the codename, eg, luminous.

Signed-off-by: Wido den Hollander wido@42on.com

@wido wido added the common label Mar 28, 2018
@wido wido requested review from liewegas and jcsp March 28, 2018 10:27
@wido
Copy link
Member Author

wido commented Mar 28, 2018

This metadata is very easy to have, shorter strings and no parsing on the consumer side.

This prevents consumers from this data to have to fully parse
and split the 'ceph_version' string which is prone to errors.

ceph_version_short only contains the version number (maj, min, patch)
and ceph_release the codename, eg, luminous.

Signed-off-by: Wido den Hollander <wido@42on.com>
@jcsp
Copy link
Contributor

jcsp commented Apr 2, 2018

@wido don't forget that when consuming these fields, you'll need to have fallbacks for the next 2 releases, to handle older daemons.

@wido
Copy link
Member Author

wido commented Apr 3, 2018

@jcsp Yes, I will check for that. But I think it should be nice to have these fields.

@tchaikov tchaikov merged commit 008aefd into ceph:master Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants