]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/Paxos: separate proposal commit from the end of the round
authorSage Weil <sage@inktank.com>
Sat, 13 Jul 2013 04:20:05 +0000 (21:20 -0700)
committerSage Weil <sage@inktank.com>
Mon, 15 Jul 2013 20:42:53 +0000 (13:42 -0700)
commitc711203c0d4b924e5951aa808b243bf06e7ad23a
tree3a573452cef110b96ad58de0ad9f848474d27e80
parent5c31010795aa1e8b761d17295c38cf62f263fd16
mon/Paxos: separate proposal commit from the end of the round

Each commit should match with exactly one proposal; finish it when we
actually commit it and make sensible asserts.

The old finish_proposal() turns into finish_round(), and performs
generic checks and cleanup associated with the transition from
updating -> active.

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