]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: do not re-register the ASOK if the image replayer isn't running
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Feb 2020 03:25:03 +0000 (22:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2020 15:53:42 +0000 (10:53 -0500)
commitbfc064e4cb0bde49e890a6275a9ac53f5dc1cd63
tree7ef7eb07f8d589457be84950b05272b0fba3df5d
parentd4c66ac5c615ff1d698c5413e2495af4cc64c4e6
rbd-mirror: do not re-register the ASOK if the image replayer isn't running

Avoid the possibility of a race when shutting down and post-unregister a status
update causes the ASOK to become re-registered.

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