]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: only do timecheck with known monmap 1461/head
authorSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 18:02:30 +0000 (11:02 -0700)
committerSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 18:02:30 +0000 (11:02 -0700)
commitf1bd59f84bca85542ad82d8f0923bbad994d7048
treec7159e3fdde5fe3b5bcc7c4da54c9903ebd11070
parentfba88de130df4f35fd8ead498f50b20c2a712f30
mon: only do timecheck with known monmap

If we are still on monmap epoch 0, our mon ranks cannot yet be trusted
since there is not yet a shared source of truth from paxos.  If we do
timechecks, the code gets confused about the ranks in e.g. the
timecheck_waiting map.

Fixes: #7692
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Monitor.cc