]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: ensure forced-failover cannot result in sync state 18337/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 26 Sep 2017 19:46:28 +0000 (15:46 -0400)
committerKarol Mroz <kmroz@suse.de>
Mon, 16 Oct 2017 23:30:42 +0000 (16:30 -0700)
commit8b3e9917a70452cc4182aae469aac331314df4e6
tree1660de3656375154876d7e021f0818811fcadd25
parentd7da395e5196eae13b31c018bf503b9e0c169bda
rbd-mirror: ensure forced-failover cannot result in sync state

If the local image already exists and the local image isn't
registered in the remote journal, it should be assumed that
it's already in the replaying state so it can verify the
ancestry to detect split-brains.

Fixes: http://tracker.ceph.com/issues/21559
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit bc96c53d947625d12f7b30a45da68a96c09faf70)
src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc