]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: snapshot-based image replayer now applies image state
authorJason Dillaman <dillaman@redhat.com>
Fri, 14 Feb 2020 02:40:21 +0000 (21:40 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 21 Feb 2020 15:01:01 +0000 (10:01 -0500)
commitd8e3a5570422ea332866aaa8d608cc7aa7b6b516
tree23e9f926ec84971d0dec7e79b51f6a23171ea299
parent334304454a9ed260b5f5d00698575117365cd5cf
rbd-mirror: snapshot-based image replayer now applies image state

Additionally, the image state will be re-read from the local cluster
if the sync was interrupted.

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