From 58ada0757f29111b6ff180f95c1c0c51ed323c0f Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 21 Jun 2016 06:25:17 +1000 Subject: [PATCH] ctdb-tools: Don't bother sending CTDB_SRVID_RECD_UPDATE_IP Nothing is listening. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tools/ctdb.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index d09cd039126..9f2abf28f55 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -1581,15 +1581,6 @@ static int move_ip(struct ctdb_context *ctdb, ctdb_sock_addr *addr, uint32_t pnn return -1; } - /* update the recovery daemon so it now knows to expect the new - node assignment for this ip. - */ - ret = ctdb_client_send_message(ctdb, CTDB_BROADCAST_CONNECTED, CTDB_SRVID_RECD_UPDATE_IP, data); - if (ret != 0) { - DEBUG(DEBUG_ERR,("Failed to send message to update the ip on the recovery master.\n")); - return -1; - } - talloc_free(tmp_ctx); return 0; } -- 2.34.1