]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: remove the last_consumed setting in Paxos
authorGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 10 Feb 2012 23:07:10 +0000 (15:07 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 10 Feb 2012 23:07:10 +0000 (15:07 -0800)
commit22eca410054654467489bb711ef4ea94017b7991
tree07746b4a253ece3eb0e0dd6886ec8a6306e0b710
parentaecf4e022455e6a2bde0365400fd33745674299a
mon: remove the last_consumed setting in Paxos

This was only ever used while initializing the Paxos machine, and it
doesn't need to be. Its existence is just an invitation to have races
between updating the stashed data and the stashed version.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/mon/Paxos.cc