]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: set image as primary when moving to trash
authorJason Dillaman <dillaman@redhat.com>
Wed, 11 Sep 2019 18:50:24 +0000 (14:50 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 9 Oct 2019 21:24:09 +0000 (17:24 -0400)
commitab9e9f3ada8ffc1badeb006cd133f420c01fb33e
tree1afade98b4ec71c66cbda6a8edeb41392802b83e
parent0d1fcf0975d2232a61f075dfd20e98f400b38bfe
rbd-mirror: set image as primary when moving to trash

This will allow the the image to be restored and re-mirrored if
desired.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 73d4577d1b9a9bff087b555c9de5005d1120a0ea)
src/test/rbd_mirror/image_deleter/test_mock_TrashMoveRequest.cc
src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc