diff options
author | Martin Schwenke <martin@meltin.net> | 2017-02-07 15:00:25 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2017-02-24 07:47:12 +0100 |
commit | fd1dc9e0c21e13d08d0d85d3325a00723c535a0c (patch) | |
tree | 01f7015cfbd868b66150f713a2d3256c682177b7 /ctdb | |
parent | cae08c7a3c662389f0109f9246562658efee695a (diff) | |
download | samba-fd1dc9e0c21e13d08d0d85d3325a00723c535a0c.tar.gz |
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>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_takeover_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_takeover_helper.c b/ctdb/server/ctdb_takeover_helper.c index 00b83c36877..af8656900e7 100644 --- a/ctdb/server/ctdb_takeover_helper.c +++ b/ctdb/server/ctdb_takeover_helper.c @@ -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)) { |