]> 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>
Thu, 16 Oct 2014 00:17:35 +0000 (17:17 -0700)
commit0e57767d5fc524939e8968b506ce2fb3f4f80656
treef5b5de5b184a9a0ffafbd81c385fb76b32251742
parent1f4aaf648f4aa6f6056d0e8ce629eeea05c5424d
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