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
kraken: rbd-mirror: failover and failback of unmodified image results in split-brain #14974
Conversation
@ceph-jenkins retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Jenkins re-test this please (logs are gone) |
@dillaman Please rebase to get rid of the obsolete failed |
If the image had a non-primary predecessor epoch whose tag tid duplicates an epoch within its own journal, an infinite loop would result. Signed-off-by: Jason Dillaman <dillaman@redhat.com> (cherry picked from commit 3f179bf)
The rbd-mirror process needs an event in the journal to properly detect the transition between primary and non-primary state between peers. Fixes: http://tracker.ceph.com/issues/19858 Signed-off-by: Jason Dillaman <dillaman@redhat.com> (cherry picked from commit 4031555) Conflicts: src/librbd/journal/DemoteRequest.cc: logic exists in Journal.cc
7970ec5
to
9efeb6b
Compare
@smithfarm sorry -- repushed. BTW -- what at the odds of a 11.2.1 being released before Kraken is killed off by Luminous 12.2.0? |
@dillaman I'd say 50:50. I'm focusing on 10.2.8 now, and will turn to 11.2.1 once that's in QE. |
Jenkins re-test this please (kraken "make check" is showing a high incidence of the "Unix Domain socket path too long" failure) |
Nevermind, rebase not necessary (Jenkins merges into latest base branch before starting the test). Jenkins re-test this please |
This PR passed an rbd run at http://tracker.ceph.com/issues/19009#note-56 (there were some failures that required a fix - applied via #16113). |
http://tracker.ceph.com/issues/19872