]> git-server-git.apps.pok.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>
Wed, 24 Jul 2013 16:01:20 +0000 (09:01 -0700)
commit732286a28cd8a643593d490a7a84a590d372f78d
tree3a1e58e27ad2114e6fa888e45a17bcc04aba2caa
parent59ddece17e36fef69ecf40e239aeffad33c9db35
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>
(cherry picked from commit b26b7f6e5e02ac6beb66e3e34e177e6448cf91cf)
src/mon/Paxos.cc