[Cluster-devel] cluster/cman/daemon commands.c

pcaulfield at sourceware.org pcaulfield at sourceware.org
Mon Oct 16 14:10:22 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2006-10-16 14:10:21

Modified files:
	cman/daemon    : commands.c 

Log message:
	Sigh, got the condition back-to-front.
	This should fix the AISONLY status (again).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.52&r2=1.53

--- cluster/cman/daemon/commands.c	2006/10/10 15:14:53	1.52
+++ cluster/cman/daemon/commands.c	2006/10/16 14:10:21	1.53
@@ -1682,9 +1682,8 @@
         /* This is the killer. If the join_time of the node matches that already stored AND
 	   the node has been down, then we kill it as this must be a rejoin */
 	if (msg->join_time == node->cman_join_time && node->flags & NODE_FLAGS_BEENDOWN) {
-
 		/* Don't duplicate messages */
-		if (node->state == NODESTATE_AISONLY) {
+		if (node->state != NODESTATE_AISONLY) {
 			if (cluster_is_quorate) {
 				P_MEMB("Killing node %s because it has rejoined the cluster without cman_tool join", node->name);
 				log_printf(LOG_CRIT, "Killing node %s because it has rejoined the cluster without cman_tool join", node->name);




More information about the Cluster-devel mailing list