From: Sage Weil Date: Thu, 23 Feb 2012 04:43:20 +0000 (-0800) Subject: mon: deprecate mon 'stop' command X-Git-Tag: v0.43~37^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d1fe2f8fd74d727d407478ff44e9e831d4fac6bf;p=ceph.git mon: deprecate mon 'stop' command Send SIGTERM. Signed-off-by: Sage Weil --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 0126fb097017..5b3158456bb4 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -978,11 +978,6 @@ void Monitor::handle_command(MMonCommand *m) reply_command(m, 0, rs, rdata, 0); return; } - if (m->cmd[0] == "stop") { - shutdown(); - reply_command(m, 0, "stopping", 0); - return; - } if (m->cmd[0] == "stop_cluster") { stop_cluster(); reply_command(m, 0, "initiating cluster shutdown", 0);