From: Andrew Tridgell Date: Sun, 8 Jul 2007 10:24:03 +0000 (+1000) Subject: we do tell banned nodes to release IPs X-Git-Tag: tevent-0.9.20~348^2~2465 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af5ee9981e9a6f351e250b7c78e8fe65c6021305;p=thirdparty%2Fsamba.git we do tell banned nodes to release IPs (This used to be ctdb commit 381dc0421d4d825398c03dcff4e79e3f76c3c981) --- diff --git a/ctdb/server/ctdb_takeover.c b/ctdb/server/ctdb_takeover.c index 14d4adaae73..71a0b3dd1d8 100644 --- a/ctdb/server/ctdb_takeover.c +++ b/ctdb/server/ctdb_takeover.c @@ -510,8 +510,8 @@ int ctdb_takeover_run(struct ctdb_context *ctdb, struct ctdb_node_map *nodemap) have. This will be a NOOP on nodes that don't currently hold the given alias */ for (i=0;inum;i++) { - /* don't talk to unconnected nodes */ - if (nodemap->nodes[i].flags & NODE_FLAGS_INACTIVE) { + /* don't talk to unconnected nodes, but do talk to banned nodes */ + if (nodemap->nodes[i].flags & NODE_FLAGS_DISCONNECTED) { continue; }