]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
paxos: fix is_consistent() check
authorSage Weil <sage@newdream.net>
Fri, 17 Feb 2012 18:23:12 +0000 (10:23 -0800)
committerSage Weil <sage@newdream.net>
Fri, 17 Feb 2012 18:23:12 +0000 (10:23 -0800)
commitdb41bdda7e02aedc42d14be635b19075b112baf0
treed8f7586e221ca2c3c27aa982f7b2c951c3b98332
parentd913e5e670282c19a35c6cb420fc1d711c388cc4
paxos: fix is_consistent() check

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>
src/mon/Paxos.cc