]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: propagate image delete if leader was offline
authorJason Dillaman <dillaman@redhat.com>
Wed, 9 May 2018 14:33:03 +0000 (10:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 15 May 2018 20:29:36 +0000 (16:29 -0400)
commitb3acc569837985590fad2705ae2dcd7f148667a5
tree5c34a18d6652c10708f9295c6e57cb968bf3be9e
parenta9d335d8399984b338d7cfe2b7d49e1f67940ebf
rbd-mirror: propagate image delete if leader was offline

In an active/active scenario, if the leader was offline while mirroring for
a remote image was disabled, the assigned replayer instance may not detect
the image removal.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/test_mock_InstanceReplayer.cc
src/tools/rbd_mirror/InstanceReplayer.cc