]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: pool replayer should instantiate the remote pool poller
authorJason Dillaman <dillaman@redhat.com>
Wed, 15 Jan 2020 20:09:05 +0000 (15:09 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 Jan 2020 13:28:35 +0000 (08:28 -0500)
commitec6c26f7456579e5772bc8c461f1b6f3e901f033
treef2c7ae0da2eee970dc7000f624f10a434d6bb1e9
parente08500268fd8d103617c029253a09d953814f0f0
rbd-mirror: pool replayer should instantiate the remote pool poller

Let the poller pull the metadata from the remote before advancing to
the leader watcher initialization. If the remote metadata changes
during runtime, stop the pool replayer so that it can be
re-initialized.

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