]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: give up targetted mon_commands after one attempt
authorSage Weil <sage@redhat.com>
Wed, 17 Jul 2019 15:20:25 +0000 (10:20 -0500)
committerNathan Cutler <ncutler@suse.com>
Mon, 21 Oct 2019 21:47:32 +0000 (23:47 +0200)
commitad3c03f38131c8871c596d26239a8d02cde43026
treebffea654d08bd3c81790a25a5bb3e3a3aa736d2a
parentc0b32516cbb20494aaf2d0108b57058aadf4c67d
mon/MonClient: give up targetted mon_commands after one attempt

If one of the monitors is down, we need to give up trying to reconnect to
that mon and send it a MonCommand.

Fixes: https://tracker.ceph.com/issues/40792
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 134f6a843ce6a9c9aeea59cd43c8c60103e635a7)

Conflicts:
src/mon/MonClient.cc
5475f67bf66d1d7faf20b91dd6e629051996a0e9 is not being backported
src/mon/MonClient.cc
src/mon/MonClient.h