ctdb-tools: Don't bother sending CTDB_SRVID_RECD_UPDATE_IP
authorMartin Schwenke <martin@meltin.net>
Mon, 20 Jun 2016 20:25:17 +0000 (06:25 +1000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 4 Jul 2016 13:42:24 +0000 (15:42 +0200)
Nothing is listening.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb.c

index d09cd03912696bb0964e885b3d3f0bc741300642..9f2abf28f550648b61838042b97d71c28b60de7a 100644 (file)
@@ -1581,15 +1581,6 @@ static int move_ip(struct ctdb_context *ctdb, ctdb_sock_addr *addr, uint32_t pnn
                return -1;
        }
 
                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;
 }
        talloc_free(tmp_ctx);
        return 0;
 }