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

OSDMonitor: only reject MOSDBoot based on up_from if inst matches #12003

Merged
merged 1 commit into from Nov 15, 2016

Conversation

athanatos
Copy link
Contributor

If the osd actually restarts, there is no guarrantee that the epoch will
advance past up_from. If the inst is different, it can't really be a
dup. At worst, it might be a queued MOSDBoot from a previous inst, but
in that case, the real inst would see itself marked up, and then back
down causing it to try booting again.

Fixes: http://tracker.ceph.com/issues/17899
Signed-off-by: Samuel Just sjust@redhat.com

If the osd actually restarts, there is no guarrantee that the epoch will
advance past up_from.  If the inst is different, it can't really be a
dup.  At worst, it might be a queued MOSDBoot from a previous inst, but
in that case, the real inst would see itself marked up, and then back
down causing it to try booting again.

Fixes: http://tracker.ceph.com/issues/17899
Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos athanatos added this to the kraken milestone Nov 15, 2016
@athanatos athanatos self-assigned this Nov 15, 2016
@athanatos
Copy link
Contributor Author

@athanatos
Copy link
Contributor Author

Looks like the jenkins failure is only test-erasure-eio.sh -- probably ok to merge anyway.

@athanatos athanatos merged commit 83ce0fe into ceph:master Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants