]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/Paxos: move post-commit finish work into commit_finish()
authorSage Weil <sage@redhat.com>
Sun, 17 Aug 2014 05:29:04 +0000 (22:29 -0700)
committerSage Weil <sage@redhat.com>
Wed, 27 Aug 2014 21:36:07 +0000 (14:36 -0700)
commit663146ac02c269054a1158ce69329edec610ac79
tree99f6e463bc6c67c3b10e19a82a28de2a9ee27724
parent08f331bee206ea81cea3215a6b2f7db887ba436c
mon/Paxos: move post-commit finish work into commit_finish()

The main change here is that we are merging the singleton and clustered
finish code together.  This is mostly a code shuffle, except for one
semantic change: we now trigger the commit waiters before finish_round()
in the singleton case, whereas before we did not.  I don't think there
was a specific reason why it differed from the clustered case.

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