]> 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)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Apr 2020 14:01:15 +0000 (10:01 -0400)
commitcb7b91dc02b64cb15f8d21e830a698bd4173b35a
tree81f3213487eb85bedbe6a7d228a0eb42c8950830
parent281af0de86b17244a2c64af80db0bf84de6d9819
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>
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