]> 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)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 21 Aug 2019 22:12:37 +0000 (15:12 -0700)
commit134f6a843ce6a9c9aeea59cd43c8c60103e635a7
tree18a11a2210e9fb774904614598c64113dd8dee80
parent1c92ab7c91c5e3ee9d706cefda9ec4317e48eec0
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>
src/mon/MonClient.cc
src/mon/MonClient.h