]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/Paxos: fix off-by-one in last_ vs first_committed check
authorSage Weil <sage@redhat.com>
Thu, 18 Sep 2014 21:11:24 +0000 (14:11 -0700)
committerSage Weil <sage@redhat.com>
Mon, 27 Oct 2014 03:45:04 +0000 (20:45 -0700)
commit92d2a38efd458f9e8f4da228ea1e94df08dc8222
tree892cf46263044423ab317adfb3b73d997c7f9db9
parent6f8524ef7673ab4448de2e0ff76638deaf03cae8
mon/Paxos: fix off-by-one in last_ vs first_committed check

peon last_committed + 1 == leader first_committed is okay.  Note that the
other check (where I clean up whitespace) gets this correct.

Fixes: #9301 (partly)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit d81cd7f86695185dce31df76c33c9a02123f0e4a)
src/mon/Paxos.cc