]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
we do tell banned nodes to release IPs
authorAndrew Tridgell <tridge@samba.org>
Sun, 8 Jul 2007 10:24:03 +0000 (20:24 +1000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 8 Jul 2007 10:24:03 +0000 (20:24 +1000)
(This used to be ctdb commit 381dc0421d4d825398c03dcff4e79e3f76c3c981)

ctdb/server/ctdb_takeover.c

index 14d4adaae73ee7ed692fa623ccf31738d045fef4..71a0b3dd1d8ef036fd42c622bf5d3d8e6ffa7522 100644 (file)
@@ -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;i<nodemap->num;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;
                }