]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/Paxos: only share uncommitted value if it is next
authorSage Weil <sage@inktank.com>
Mon, 22 Jul 2013 21:13:23 +0000 (14:13 -0700)
committerSage Weil <sage@inktank.com>
Mon, 22 Jul 2013 21:13:23 +0000 (14:13 -0700)
commitb26b7f6e5e02ac6beb66e3e34e177e6448cf91cf
treefc6e683fd5b49d17a7166bd3cc05d700481d8f4a
parent99e605455f7bf6088be5ce5ee3d4e29ab7e03d47
mon/Paxos: only share uncommitted value if it is next

We may have an uncommitted value from our perspective (it is our lc + 1)
when the collector has a much larger lc (because we have been out for
the last few rounds).  Only share an uncommitted value if it is in fact
the next value.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Paxos.cc