]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: wait for paxos writes before touching state 2655/head
authorSage Weil <sage@redhat.com>
Wed, 1 Oct 2014 00:18:49 +0000 (17:18 -0700)
committerSage Weil <sage@redhat.com>
Wed, 1 Oct 2014 00:19:37 +0000 (17:19 -0700)
commitcefb1a35ca3dbdf82adc1cc78f9f3083b0602a61
tree376eb865d0df22140800f6e2d1b5a2dbbf3c987a
parent46c1d93653459ca5017998acec2d8746588bbd67
mon: wait for paxos writes before touching state

Fix two other paths where may change the mon state so that we wait for the
pending write first.  start_election() in particular can be triggered at
almost any time if we see an election message from another mon.

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