]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd_mirror: properly handle image replay canceled when starting replay 41792/head
authorMykola Golub <mgolub@suse.com>
Thu, 17 Jun 2021 15:09:31 +0000 (18:09 +0300)
committerMykola Golub <mgolub@suse.com>
Fri, 18 Jun 2021 05:35:09 +0000 (08:35 +0300)
commitd47ddd998f096a77b4052c537ff11503c537cd79
treed6e63b8cac2c594a55e512d1a2a304ad5b55f087
parent55f88d66e3c4736477215109c3b8be4e152eee76
rbd_mirror: properly handle image replay canceled when starting replay

It fixes the bug when the handle_start_replay detected the cancel
when it called on_replay_interrupted and returned without
completing m_on_start_finish context.

This is a direct commit to nautilus. The bug was accidentally
fixed in newer versions during refactoring.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/tools/rbd_mirror/ImageReplayer.cc