]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: state machine to apply any image-state deltas
authorJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 21:41:03 +0000 (16:41 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 21 Feb 2020 15:00:56 +0000 (10:00 -0500)
commit334304454a9ed260b5f5d00698575117365cd5cf
treeedef33dc942cc6759141136a37c729658261d9c5
parente99f516d3d5a30f7a4e6bafc5635f9bcb51cdd7b
rbd-mirror: state machine to apply any image-state deltas

When replaying mirror snapshots from a remote image, the image state
tracks the current state of the image at the image the snapshot was
created. Therefore, the new state machine will apply any discovered
deltas between the remote image state and the local image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/CMakeLists.txt
src/test/rbd_mirror/image_replayer/snapshot/test_mock_ApplyImageStateRequest.cc [new file with mode: 0644]
src/tools/rbd_mirror/CMakeLists.txt
src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.cc [new file with mode: 0644]
src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.h [new file with mode: 0644]