Skip to content

Commit

Permalink
mon: deprecate mon 'stop' command
Browse files Browse the repository at this point in the history
Send SIGTERM.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil authored and liewegas committed Feb 23, 2012
1 parent 962aa3e commit d1fe2f8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/mon/Monitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d1fe2f8

Please sign in to comment.