summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-16 16:09:40 +0100
committerStefan Metzmacher <metze@samba.org>2010-01-20 11:10:59 +0100
commit37880b0d0a600f01a7217f32e4b763463ea7975a (patch)
treebd001ad3d212c6b04d3a0e3a1517dac690fbe522 /ctdb/include
parentd89604afabf7cfb606fa993720f78553e3c35987 (diff)
downloadsamba-37880b0d0a600f01a7217f32e4b763463ea7975a.tar.gz
samba-37880b0d0a600f01a7217f32e4b763463ea7975a.tar.xz
samba-37880b0d0a600f01a7217f32e4b763463ea7975a.zip
server: use CTDB_PUBLIC_IP_FLAGS_ONLY_AVAILABLE during a takeover run
We know ask for the known and available interfaces. This means a node gets a RELEASE_IP event for all interfaces it "knows", but doesn't serve and a node only gets a TAKE_IP event for "available" interfaces. metze (This used to be ctdb commit a695a38e49e7c3e15a9706392dc920eeab1f11ba)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 217821313a..b9ca5cb02b 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -246,7 +246,8 @@ struct ctdb_node {
across the nodes. it needs to know which public ip's can be handled
by each node.
*/
- struct ctdb_all_public_ips *public_ips;
+ struct ctdb_all_public_ips *known_public_ips;
+ struct ctdb_all_public_ips *available_public_ips;
/* used by the recovery dameon to track when a node should be banned */
struct ctdb_banning_state *ban_state;
};