]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: fix mirror image removal
authorArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Fri, 4 Jun 2021 16:29:37 +0000 (18:29 +0200)
committerArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Wed, 12 Jan 2022 09:03:30 +0000 (10:03 +0100)
commit89df10a9c5c7f082b0e8894560c13d3c9c068319
tree2ac618093c9154b2fa13077c7cf2f76b56671f95
parentb78870188b9f298f2d65594d7afb6e2019bff155
rbd-mirror: fix mirror image removal

Invoke ImageRemoveRequest instead of calling directly
mirror_image_remove so that the MirrroringWatcher can pick up local
image deletion.

Fixes: https://tracker.ceph.com/issues/51031
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
(cherry picked from commit 34082b7ee48a33e566348395395858e1e0db3013)

 Conflicts:
src/test/rbd_mirror/image_deleter/test_mock_TrashMoveRequest.cc
- Trivial conflict resolution
src/test/rbd_mirror/image_deleter/test_mock_TrashMoveRequest.cc
src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc