]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: PaxosService: can be readable even if proposing 2945/head
authorJoao Eduardo Luis <joao@redhat.com>
Mon, 17 Nov 2014 17:56:48 +0000 (17:56 +0000)
committerJoao Eduardo Luis <joao@redhat.com>
Mon, 17 Nov 2014 17:58:44 +0000 (17:58 +0000)
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 <joao@redhat.com>
src/mon/PaxosService.h

index e6c5a02ec9ebe7ead8020cfc6873acb90b66dbba..7c2259218e37d0e9e9cf2a8e89828a53a493c724 100644 (file)
@@ -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;