]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PaxosService: fix trim completion
authorSage Weil <sage@inktank.com>
Sat, 13 Jul 2013 04:42:19 +0000 (21:42 -0700)
committerSage Weil <sage@inktank.com>
Sat, 13 Jul 2013 05:04:53 +0000 (22:04 -0700)
commitbf4f8024ba39c7a44258b5035698efa796300727
tree4730ca3b41a559a406f9b5eb508c63b60e27fe53
parentb5659b5e7f298689bb148785be994f64ecaaa705
mon/PaxosService: fix trim completion

Do not call C_Committed after trim or else we will prematurely clear
the bool proposing, propose something again using the same version, and
crash.  We do not in fact need anything to happen here aside from the
refresh_from_paxos() that happens on its own.

Broken by 39b71c582628d26e749c23343aa69db079ee40a1.

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