]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/Paxos: don't ignore peer first_committed
authorSage Weil <sage@inktank.com>
Wed, 1 May 2013 04:16:16 +0000 (21:16 -0700)
committerSage Weil <sage@inktank.com>
Wed, 1 May 2013 17:57:47 +0000 (10:57 -0700)
commit3a6138b25ed38d7e55c85b997fb8533e97e63c68
tree6b16cb44f2a7d02b32136ef9754ff93ae056dfac
parent8a8ae159f5bf3dd663b7524b41b5bad276a4f6de
mon/Paxos: don't ignore peer first_committed

We go to the effort of keeping a map of the peer's first/last committed
so that we can send the right commits during the first phase of paxos,
but we forgot to record the first value.  This appears to simply be an
oversight.  It is mostly harmless; it just means we send extra states
that the peer already has.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/mon/Paxos.cc
src/mon/Paxos.h