]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PaxosService: do not prepare new pending if still proposing
authorSage Weil <sage@inktank.com>
Fri, 12 Jul 2013 20:50:49 +0000 (13:50 -0700)
committerSage Weil <sage@inktank.com>
Sat, 13 Jul 2013 20:00:06 +0000 (13:00 -0700)
commitd4876c533ccdddddba8d5097e8e19e4ff079da1b
treec6999f2c80fa4d416388ab2d2b78f98467a7bee9
parentf37c36e817459938de152fe66de9a773773bfcd9
mon/PaxosService: do not prepare new pending if still proposing

The _active callback can get called while are already proposing.  If
that happens, we should not prepare a fresh new pending but should
wait for the previous proposal to finish.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/mon/PaxosService.cc