]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: simple snapshot split-brain detection
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 20:58:59 +0000 (15:58 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2020 15:53:44 +0000 (10:53 -0500)
commit238e284a614bdb37496c45e3d5e9336ce283b0eb
tree05e0dbe8a9a78cfcc24273e435b115acb2050a30
parentbcb7d6698bba0906f35199b55808944f98119df3
rbd-mirror: simple snapshot split-brain detection

If the local image has a primary demotion and the remote does not
have a matching non-primary demotion snapshot, we should throw a
split-brain error.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc