]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: leader watcher should always initialize status watcher
authorJason Dillaman <dillaman@redhat.com>
Fri, 9 Mar 2018 01:12:37 +0000 (20:12 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 Apr 2018 20:31:32 +0000 (16:31 -0400)
commitcca3a9b73d4ed3ed3806ff3b9e682cde7bab64e6
tree25362e577bf4199b2fff5f398ba11151aedd8063
parenta13b7c82158fd011c42e0dc62a499b61104f2292
rbd-mirror: leader watcher should always initialize status watcher

In the case of active/active, both the leader and the followers will be
sending status updates for their images. Therefore, all rbd-mirror daemons
should be registered.

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