]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: deprecate mon 'stop' command
authorSage Weil <sage.weil@dreamhost.com>
Thu, 23 Feb 2012 04:43:20 +0000 (20:43 -0800)
committerSage Weil <sage@newdream.net>
Thu, 23 Feb 2012 19:15:05 +0000 (11:15 -0800)
Send SIGTERM.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mon/Monitor.cc

index 0126fb09701771190da3769ff11f5d1a648224ba..5b3158456bb4cdc7b0e49c83e4f5f737d528e0da 100644 (file)
@@ -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);