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

rbd-mirror: improve split-brain detection logic #10703

Merged
merged 8 commits into from Aug 17, 2016
Merged

Commits on Aug 16, 2016

  1. qa/workunits/rbd: demote/promote image on same cluster

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    e6aa18e View commit details
    Browse the repository at this point in the history
  2. rbd-mirror: include tag tid in bootstrap debug log messages

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    47d1e62 View commit details
    Browse the repository at this point in the history
  3. librbd: separate journal::TagData predecessor data into new struct

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    718befd View commit details
    Browse the repository at this point in the history
  4. librbd: block RPC requests when demoting the image

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    8b195e1 View commit details
    Browse the repository at this point in the history
  5. librbd: normalize journal promotion/demotion events

    A non-primary image's commit possition won't accurately reflect
    the current demotion/promotion chain. Therefore, directly specify
    the predecessor for promotion events.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    ac590e8 View commit details
    Browse the repository at this point in the history
  6. rbd-mirror: demote/promote in same cluster results in split-brain

    Fixes: http://tracker.ceph.com/issues/16855
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    a6901ca View commit details
    Browse the repository at this point in the history
  7. rbd-mirror: prevent syncing to non-primary image after failover

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    beaef37 View commit details
    Browse the repository at this point in the history
  8. test: fixed unused function warnings in unittest_rbd_mirror

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Aug 16, 2016
    Copy the full SHA
    3545d9e View commit details
    Browse the repository at this point in the history