]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: unlink from remote snapshot if required
authorJason Dillaman <dillaman@redhat.com>
Wed, 8 Apr 2020 02:12:19 +0000 (22:12 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 28 Apr 2020 18:52:10 +0000 (20:52 +0200)
commitb696164b7df7d2a75039fa4c8d722369fd488a8b
tree593794e69b35c888e12cb4d11f1b1d1566bfae97
parent12629fcd4b63b2b0da1729a607a5050e108f22ea
rbd-mirror: unlink from remote snapshot if required

If a previous remote snapshot was synced but the unlink failed,
ensure we retry the unlink so that the remote can cleanup the unused
snapshot.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit cb7b91dc02b64cb15f8d21e830a698bd4173b35a)
src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h