]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: support resync request for snapshot-based mirroring
authorJason Dillaman <dillaman@redhat.com>
Sat, 22 Feb 2020 20:23:10 +0000 (15:23 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 13:22:58 +0000 (08:22 -0500)
commit86d39fb9eeaafec2523d3652083a407947434844
tree1d257266848693aa36bb50d72d8c632119ff3da3
parentfc073c54a18922821e39e7d8454362f96b802e85
rbd-mirror: support resync request for snapshot-based mirroring

When a local image has the resync requested image-meta property, the
snapshot replayer will stop and initiate the resync request.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc
src/test/rbd_mirror/test_ImageReplayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h