From 173aa683d5af2c32588375045448a7c1a242904c Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 7 Jul 2015 20:41:05 +1000 Subject: [PATCH] ctdb-daemon: Don't explicitly disable monitoring when stopping a node Monitoring is now avoided for inactive nodes anyway. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/server/ctdb_recover.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ctdb/server/ctdb_recover.c b/ctdb/server/ctdb_recover.c index 0601ef37bf7..683211a26c0 100644 --- a/ctdb/server/ctdb_recover.c +++ b/ctdb/server/ctdb_recover.c @@ -1613,7 +1613,6 @@ int32_t ctdb_control_set_recmaster(struct ctdb_context *ctdb, uint32_t opcode, T int32_t ctdb_control_stop_node(struct ctdb_context *ctdb) { DEBUG(DEBUG_ERR, ("Stopping node\n")); - ctdb_disable_monitoring(ctdb); ctdb->nodes[ctdb->pnn]->flags |= NODE_FLAGS_STOPPED; return 0; -- 2.11.4.GIT