]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: prevent blacklisting of local instance after failover/back
authorJason Dillaman <dillaman@redhat.com>
Mon, 7 May 2018 21:43:13 +0000 (14:43 -0700)
committerJason Dillaman <dillaman@redhat.com>
Tue, 15 May 2018 20:16:34 +0000 (16:16 -0400)
commitce974305893c4262b62547ce184d514578358218
tree2c40367d15e0ef95e511f9e0b12ddb98fa63c780
parentbce5328a328f3f9b98674d9e4611a2a40bdf3ddb
rbd-mirror: prevent blacklisting of local instance after failover/back

If the leader role is manually released, upon failback the instance
will have removed its local instance object, preventing RPC
messaging.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/test_Instances.cc
src/test/rbd_mirror/test_mock_LeaderWatcher.cc
src/tools/rbd_mirror/Instances.cc
src/tools/rbd_mirror/Instances.h
src/tools/rbd_mirror/LeaderWatcher.cc
src/tools/rbd_mirror/LeaderWatcher.h