From 06fc39c8af2bf17628f58122fc7a79f012a82ba4 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Mon, 17 Nov 2014 17:56:48 +0000 Subject: [PATCH] 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 --- src/mon/PaxosService.h | 1 - 1 file changed, 1 deletion(-) 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; -- 2.47.3