summaryrefslogtreecommitdiff
path: root/ctdb/server
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2017-09-11 10:48:50 +1000
committerAmitay Isaacs <amitay@samba.org>2017-09-14 14:49:15 +0200
commit19318d28354190a9cfafa1696e41c90351f85af9 (patch)
treea5c1661ba6ee49f09c4cc55039a9b4071a67a5ab /ctdb/server
parent4656b0816abfcf3848715ad6f58f9093e2613aea (diff)
downloadsamba-19318d28354190a9cfafa1696e41c90351f85af9.tar.gz
ctdb-daemon: Don't explicitly stop monitoring during shutdown
Monitoring is skipped when not in run state RUNNING, so remove the dependency on the monitoring code. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/server')
-rw-r--r--ctdb/server/ctdb_daemon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c
index 8ae43517a85..6a9547075de 100644
--- a/ctdb/server/ctdb_daemon.c
+++ b/ctdb/server/ctdb_daemon.c
@@ -1800,7 +1800,6 @@ void ctdb_shutdown_sequence(struct ctdb_context *ctdb, int exit_code)
ctdb_set_runstate(ctdb, CTDB_RUNSTATE_SHUTDOWN);
ctdb_stop_recoverd(ctdb);
ctdb_stop_keepalive(ctdb);
- ctdb_stop_monitoring(ctdb);
ctdb_release_all_ips(ctdb);
ctdb_event_script(ctdb, CTDB_EVENT_SHUTDOWN);
ctdb_stop_eventd(ctdb);