]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
paxos: use helper to store committed state; fix master mon catch up using stash
authorSage Weil <sage@newdream.net>
Wed, 26 May 2010 17:59:21 +0000 (10:59 -0700)
committerSage Weil <sage@newdream.net>
Wed, 26 May 2010 17:59:21 +0000 (10:59 -0700)
commita1c99811bae2199a4ef3eef8681ac70ccfa128f5
treecfe2f137444a48645d8a0cbf2eadac49640c722b
parentc0df916a790f9560d487c74c22152a7e16e6f226
paxos: use helper to store committed state; fix master mon catch up using stash

The catch up logic in handle_last didn't handle the stashed state, so we
crashed and burned if it was the master that was behind and caught up.
Use a helper that does the work for handle_commit AND handle_last.
src/mon/Paxos.cc
src/mon/Paxos.h