If our last_committed == 1, we don't need a separate stash. This is the
logic that slurp() follows, so fix is_consistent() to match.
Fixes: #2077
Signed-off-by: Sage Weil <sage@newdream.net>
bool Paxos::is_consistent()
{
bool consistent = true;
- if (first_committed > latest_stashed)
+ if (first_committed > 1 && first_committed > latest_stashed)
consistent = false;
if (first_committed > last_committed)
consistent = false;