]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: complete pool watcher initialization if object missing
authorJason Dillaman <dillaman@redhat.com>
Fri, 22 Feb 2019 15:59:26 +0000 (10:59 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 25 Feb 2019 19:22:25 +0000 (14:22 -0500)
commit80954cd914c86e11ffb6a8cbfcb21202cb8131b5
tree633bbc83460e9c44b4761316575d1e9e4638051e
parent8b883d136be4454029af7c4c7e580936ad901156
rbd-mirror: complete pool watcher initialization if object missing

If the mirroring object is missing, complete the initialization and
continue to retry in the background. This is useful for cases where
the remote doesn't (yet) have mirroring enabled but the remote
pool watcher initialization is delaying the leader watcher promotion
to the point where the leader is blacklisted by its peers.

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