From: renhwztetecs Date: Wed, 3 Feb 2016 06:43:53 +0000 (+0800) Subject: mon: unregister command on shutdown X-Git-Tag: v10.1.0~419^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b7bbcee2dca7f7bd817d4b37145b65ebbc379d3f;p=ceph.git mon: unregister command on shutdown unregister command on shutdown include: "quorum enter" && "quorum exit" Signed-off-by: huanwen ren --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 42d265ba7a2..339e3582c81 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -866,6 +866,8 @@ void Monitor::shutdown() admin_socket->unregister_command("quorum_status"); admin_socket->unregister_command("sync_force"); admin_socket->unregister_command("add_bootstrap_peer_hint"); + admin_socket->unregister_command("quorum enter"); + admin_socket->unregister_command("quorum exit"); admin_socket->unregister_command("ops"); delete admin_hook; admin_hook = NULL;