]> git-server-git.apps.pok.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>
Tue, 26 Oct 2021 08:28:38 +0000 (10:28 +0200)
commit2adf2ee5cc4d9772868846ca203a32c7459497fb
tree977f149a809f09e1f9f9582362ced336c835526e
parent9c8bdbc8afe90dacd18f2ee15044f48109538abe
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)
src/test/rbd_mirror/image_deleter/test_mock_TrashMoveRequest.cc
src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc