]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: wait for PaxosService readable in handle_get_version 1693/head
authorSage Weil <sage@inktank.com>
Fri, 18 Apr 2014 18:12:23 +0000 (11:12 -0700)
committerSage Weil <sage@inktank.com>
Fri, 18 Apr 2014 18:12:23 +0000 (11:12 -0700)
commit09985d25a8b5d419bfb6153bf5a7985f78486470
tree7a9d885947cc17aec500d7f90efa2cb822c18fcd
parent0d4aed88a1f212bd2ba45d24cdd45767870013d9
mon: wait for PaxosService readable in handle_get_version

We were waiting for the election to finish, but we need to *also* wait for
paxos to recover.  Being a peon or leader is not sufficient and we may
return a map that is still old.

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