From 9b456bc7301927d515bab14ae7b875330da70f21 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Sat, 10 Dec 2016 19:39:11 +1100 Subject: 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 Reviewed-by: Amitay Isaacs --- ctdb/server/ipalloc_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctdb/server/ipalloc_private.h') 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; }; -- cgit v1.2.1