diff options
author | Sage Weil <sage@inktank.com> | 2013-06-10 17:28:51 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-06-13 10:52:17 -0700 |
commit | 652c5996eff32936c27d538b14cb333e78c6117c (patch) | |
tree | 503d26b43e6847f3a23d941af2ff683a49d6b211 | |
parent | 6630462ae93c537fc46abddc189b12a8791fbbb1 (diff) | |
download | ceph-652c5996eff32936c27d538b14cb333e78c6117c.tar.gz |
mon: shut down Paxos on shutdown
This cleans up the completions for any paxos waiters.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/mon/Monitor.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 9910eab32f5..7c7577e1a00 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -597,6 +597,7 @@ void Monitor::shutdown() } // clean up + paxos->shutdown(); for (vector<PaxosService*>::iterator p = paxos_service.begin(); p != paxos_service.end(); ++p) (*p)->shutdown(); health_monitor->shutdown(); |