diff options
author | Martin Schwenke <martin@meltin.net> | 2016-12-10 19:39:11 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2016-12-19 04:07:08 +0100 |
commit | 9b456bc7301927d515bab14ae7b875330da70f21 (patch) | |
tree | 0c8b3f2e7d9fdcdad0c3850d1385e10c7240d76c /ctdb/server/ipalloc_private.h | |
parent | c4eab456ab9f634cd7fa0ce36749432d36d03a2b (diff) | |
download | samba-9b456bc7301927d515bab14ae7b875330da70f21.tar.gz |
ctdb-takeover: NoIPTakeover is global across cluster
Instead of gathering the value from all nodes, just use the value on
the recovery master and have it affect all nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/server/ipalloc_private.h')
-rw-r--r-- | ctdb/server/ipalloc_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ipalloc_private.h b/ctdb/server/ipalloc_private.h index 485f6273855..f5b61c384c8 100644 --- a/ctdb/server/ipalloc_private.h +++ b/ctdb/server/ipalloc_private.h @@ -32,12 +32,12 @@ struct ipalloc_state { /* Arrays with data for each node */ struct ctdb_public_ip_list *available_public_ips; struct ctdb_public_ip_list *known_public_ips; - bool *noiptakeover; bool *noiphost; struct public_ip_list *all_ips; enum ipalloc_algorithm algorithm; bool no_ip_failback; + bool no_ip_takeover; uint32_t *force_rebalance_nodes; }; |