]> git-server-git.apps.pok.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>
Tue, 31 May 2016 15:55:35 +0000 (11:55 -0400)
commit0745cc3db35a349799891c8397249bf8d088ef83
tree50b8a5eead72ec0b973aa69054f20c3a8667cf6e
parent91f8373613a38d48d71f2762e75e21ec817305be
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>
(cherry picked from commit 6a2adca2a47b384f64c20996b9fc77010a70bc22)
src/tools/rbd_mirror/Mirror.cc