]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: resurrect "waiting for monmap|config" timeouts
authorIlya Dryomov <idryomov@gmail.com>
Thu, 1 Apr 2021 08:07:00 +0000 (10:07 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Apr 2021 18:50:53 +0000 (20:50 +0200)
commitda55a3bcd22c1830890769a6b042297e524b4d35
treef6cbffd0b26ccee6ab357db81b723a2a30ec3027
parent550cb60732b33a4625c6aef80f7d9f1315a03492
mon/MonClient: resurrect "waiting for monmap|config" timeouts

This fixes a regression introduced in commit 85157d5aae3d ("mon:
s/Mutex/ceph::mutex/").  Waiting for monmap and config indefinitely
is not just bad UX, it actually masks other more serious bugs.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 6faa18e0a8e8efba6bd2978942eb9909b6568d5c)
src/mon/MonClient.cc