]> 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, 18 Sep 2014 21:11:24 +0000 (14:11 -0700)
commitd81cd7f86695185dce31df76c33c9a02123f0e4a
tree6fcba5d89b9591036fbab415ddd07aac29c5d2fa
parent5c8143e3d54b3fd620260147c9936abd6d37d4bb
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>
src/mon/Paxos.cc