]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: snapshot sync request needs to check for interruption
authorJason Dillaman <dillaman@redhat.com>
Fri, 20 Mar 2020 14:54:43 +0000 (10:54 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 20 Mar 2020 17:18:14 +0000 (13:18 -0400)
commit336a16bcaf0f23bd63dbac4d6797c801a6a0773d
treef36a10de1918b65aead19ab97f00aaad4bf8eb2a
parentae726336d274ec9d5e02ecd05ddeab2750ff8959
rbd-mirror: snapshot sync request needs to check for interruption

If the sync request was locally canceled, we need to resume the paused
shut down logic instead of just notifying the image replayer state
machine of the change -- since it had already requested a shut down and
will not re-request it.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc