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

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

Merged
merged 2 commits into from Jul 5, 2017

Commits on Jun 27, 2017

  1. 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>
    (cherry picked from commit 3f179bf)
    Jason Dillaman committed Jun 27, 2017
    Copy the full SHA
    1d71475 View commit details
    Browse the repository at this point in the history
  2. 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>
    (cherry picked from commit 4031555)
    
    Conflicts:
    	src/librbd/journal/DemoteRequest.cc: logic exists in Journal.cc
    Jason Dillaman committed Jun 27, 2017
    Copy the full SHA
    9efeb6b View commit details
    Browse the repository at this point in the history