cluster/cman/daemon commands.c
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).
cman/daemon/commands.c +1 -2
@@ -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);