Rev 566: we do tell banned nodes to release IPs in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Sun Jul 8 10:24:04 GMT 2007


------------------------------------------------------------
revno: 566
revision-id: tridge at samba.org-20070708102403-p29l9sq76g3jc556
parent: tridge at samba.org-20070708093655-b46glrwqb1qudg2r
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sun 2007-07-08 20:24:03 +1000
message:
  we do tell banned nodes to release IPs
modified:
  server/ctdb_takeover.c         ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
=== modified file 'server/ctdb_takeover.c'
--- a/server/ctdb_takeover.c	2007-07-04 06:51:13 +0000
+++ b/server/ctdb_takeover.c	2007-07-08 10:24:03 +0000
@@ -510,8 +510,8 @@
 	   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;
 		}
 



More information about the samba-cvs mailing list