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

src/mds: fix MDSMap upgrade decoding #12097

Merged
merged 1 commit into from Nov 29, 2016
Merged

src/mds: fix MDSMap upgrade decoding #12097

merged 1 commit into from Nov 29, 2016

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Nov 21, 2016

Hammer MDSMonitors did not validate the state in beacons
and would apply anything to the mds_info_t for a standby,
such as setting it to down:dne. We must handle this
case during upgrade.

Fixes: http://tracker.ceph.com/issues/17837
Signed-off-by: John Spray john.spray@redhat.com

@jcsp jcsp added bug-fix cephfs Ceph File System labels Nov 21, 2016
Copy link
Member

@gregsfortytwo gregsfortytwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Greg Farnum gfarnum@redhat.com

Not sure how we should test this, though.

Hammer MDSMonitors did not validate the state in beacons
and would apply anything to the mds_info_t for a standby,
such as setting it to down:dne.  We must handle this
case during upgrade.

Fixes: http://tracker.ceph.com/issues/17837
Signed-off-by: John Spray <john.spray@redhat.com>
@jcsp
Copy link
Contributor Author

jcsp commented Nov 22, 2016

Pushed a rebase to see if that kicks jenkins into proceeding here

@jcsp
Copy link
Contributor Author

jcsp commented Nov 22, 2016

@gregsfortytwo yeah, this made me notice how the ceph-object-corpus stuff seems to have gone stale, this is the kind of thing that could have easily slotted in there :-/

@jcsp
Copy link
Contributor Author

jcsp commented Nov 22, 2016

@gregsfortytwo
Copy link
Member

Hmm, we can probably push our own stuff into the object corpus whenever we want to. @liewegas, was there ever anything formal for building that up, or was it just something that people did and gradually got forgotten?

@jcsp jcsp merged commit 4bb05b9 into master Nov 29, 2016
@jcsp jcsp deleted the wip-17837 branch November 29, 2016 11:50
@smithfarm
Copy link
Contributor

@jcsp In http://tracker.ceph.com/issues/17837#note-18 you mentioned that you backported this to jewel. If you still have that backport around, could you open a PR and link it to the backport tracker issue http://tracker.ceph.com/issues/18100 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants