]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Fri, 17 May 2019 14:59:31 +0000 (10:59 -0400)
commitff149e6121aa7b77a7be76d308a384d96ff3c6ba
tree0055ed90548343339f117ca545484ddfc7bb84cb
parent5b337e2c0c698891c4023eac70f0237d6f4337f8
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>
(cherry picked from commit 80954cd914c86e11ffb6a8cbfcb21202cb8131b5)

Conflicts:
src/tools/rbd_mirror/PoolReplayer.cc: missing handle_init_remote_pool_watcher
src/test/rbd_mirror/test_mock_PoolWatcher.cc
src/tools/rbd_mirror/PoolReplayer.cc
src/tools/rbd_mirror/PoolReplayer.h
src/tools/rbd_mirror/PoolWatcher.cc