1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ctdb-takeover: Fetch public IP addresses from all connected nodes

Redundant releases will be sent to all connected nodes anyway, so this
is no worse.  This will facilitate an improvement to avoid sending
releases to nodes with no known IPs.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2017-02-07 15:00:25 +11:00 committed by Martin Schwenke
parent cae08c7a3c
commit fd1dc9e0c2

View File

@ -859,7 +859,7 @@ static void takeover_nodemap_done(struct tevent_req *subreq)
ipalloc_set_node_flags(state->ipalloc_state, nodemap);
subreq = get_public_ips_send(state, state->ev, state->client,
state->pnns_active, state->num_active,
state->pnns_connected, state->num_connected,
state->num_nodes, state->ban_credits,
false);
if (tevent_req_nomem(subreq, req)) {