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

rbd-mirror: failover and failback of unmodified image results in split-brain #14963

Merged
merged 3 commits into from May 5, 2017

Conversation

Projects
None yet
2 participants
@dillaman
Contributor

dillaman commented May 5, 2017

No description provided.

dillaman added some commits May 4, 2017

rbd-mirror: prevent infinite loop when computing replay status
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>
librbd: do not delay propagation of demote events
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
librbd: add no-op event when promoting an image
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>

@trociny trociny self-assigned this May 5, 2017

@trociny

trociny approved these changes May 5, 2017

lgtm

@trociny trociny merged commit dff4922 into ceph:master May 5, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@dillaman dillaman deleted the dillaman:wip-19858 branch May 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment