]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: manual stop should take precedence over regular stop
authorIlya Dryomov <idryomov@gmail.com>
Sun, 20 Feb 2022 12:11:02 +0000 (13:11 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 21 Feb 2022 13:57:44 +0000 (14:57 +0100)
commitc5b5787349e91a0fd23cd6d5e73b2a383ddd8687
tree82b320ba9236adee986d98526cda2e38c017b0e8
parent219c500977bbfbcfe4ccd24beb294edbe0562d35
rbd-mirror: manual stop should take precedence over regular stop

Somewhat similar to commit 0a3794e56256 ("rbd-mirror: make stop
properly cancel restart"), make it so that a) if a manual stop is
joined to regular stop, the stop becomes manual and b) if a regular
stop is joined to a manual stop, the stop stays manual.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/tools/rbd_mirror/ImageReplayer.cc