[Cluster-devel] cluster/ccs/ccs_tool update.c

lhh at sourceware.org lhh at sourceware.org
Tue Jun 19 18:08:02 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	lhh at sourceware.org	2007-06-19 18:08:01

Modified files:
	ccs/ccs_tool   : update.c 

Log message:
	Fix update failure if node was fenced

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/update.c.diff?cvsroot=cluster&r1=1.12&r2=1.13

--- cluster/ccs/ccs_tool/update.c	2007/05/03 09:25:57	1.12
+++ cluster/ccs/ccs_tool/update.c	2007/06/19 18:08:01	1.13
@@ -244,6 +244,9 @@
   for (i = 0; i < members->count; i++) {
     if (members->nodes[i].cn_nodeid == 0)
       continue;
+    if (members->nodes[i].cn_member == 0)
+      continue;
+
     fd = ccs_open(members->nodes[i], cluster_base_port, 5);
 
     if (fd < 0) {
@@ -295,6 +298,9 @@
   for (i=0; i < members->count; i++) {
     if (members->nodes[i].cn_nodeid == 0)
       continue;
+    if (members->nodes[i].cn_member == 0)
+      continue;
+
     fd = ccs_open(members->nodes[i], cluster_base_port, 5);
     if(fd < 0){
       fprintf(stderr, "Unable to open connection to %s: %s\n",




More information about the Cluster-devel mailing list