]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MonClient: apply timeout while fetching config
authorSage Weil <sage@redhat.com>
Tue, 13 Feb 2018 03:47:21 +0000 (21:47 -0600)
committerSage Weil <sage@redhat.com>
Tue, 6 Mar 2018 20:44:50 +0000 (14:44 -0600)
commit3c2b30e4c5dd2d0ea5f38feb8a05ad02bf9c3bd9
tree3834b86c42cc25f7f1c07a306ef9e81e89e1611f
parentbee6ced27699445a77979cc737c4a2fbc6a58990
mon/MonClient: apply timeout while fetching config

The normal timeouts automatically apply during the authenticate() stage,
but not to the explicit wait for a config.  If we don't get that quickly
we shoudl retry another monitor because it is possible we will connect to
an out-of-quorum (or otherwise unresponsive) mon.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonClient.cc