]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: stop stale replayers before starting new replayers
authorJason Dillaman <dillaman@redhat.com>
Wed, 25 May 2016 18:00:34 +0000 (14:00 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 27 May 2016 03:50:04 +0000 (23:50 -0400)
commit6a2adca2a47b384f64c20996b9fc77010a70bc22
tree750cda267c6fdcdee4448705bcd7c7d61037859e
parentd52843190d84d533ab50a1702cf4a829b71ad68b
rbd-mirror: stop stale replayers before starting new replayers

If the connection details are tweaked for a remote peer, stop
the existing replayer before potentially starting a new replayer
against the same remote.

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