]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: keep remote image open after bootstrap for snapshot mirroring
authorJason Dillaman <dillaman@redhat.com>
Thu, 6 Feb 2020 15:52:29 +0000 (10:52 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Feb 2020 15:36:40 +0000 (10:36 -0500)
commita767d267dabee5896e12dccb6d555087886139dd
tree340a2b93959d197f31d8d3a1bcee5326bf9deba3
parent5f4edf6cbdc845f95d1d73510c89010da47b4575
rbd-mirror: keep remote image open after bootstrap for snapshot mirroring

The snapshot-based mirroring requires an open remote image to watch for
snapshot creation and to handle the deep-copy from remote to local image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc
src/tools/rbd_mirror/image_replayer/StateBuilder.h
src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.cc
src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.h