From: Joao Eduardo Luis Date: Mon, 17 Nov 2014 17:56:48 +0000 (+0000) Subject: mon: PaxosService: can be readable even if proposing X-Git-Tag: v0.89~5^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2945%2Fhead;p=ceph.git mon: PaxosService: can be readable even if proposing As long as we have a stable version in memory that is lower or equal to the version we want. Fixes: #9321 Fixes: #9322 Signed-off-by: Joao Eduardo Luis --- diff --git a/src/mon/PaxosService.h b/src/mon/PaxosService.h index e6c5a02ec9eb..7c2259218e37 100644 --- a/src/mon/PaxosService.h +++ b/src/mon/PaxosService.h @@ -566,7 +566,6 @@ public: */ bool is_readable(version_t ver = 0) { if (ver > get_last_committed() || - is_proposing() || !paxos->is_readable(0) || get_last_committed() == 0) return false;