Skip to contentSkip to conversation

cluster/cman man/qdisk.5 qdisk/main.c qdisk/sc ...

Cluster-devel [email protected] 1 participant 1 message Mar 20, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-03-20 19:37:04

Modified files:
cman/man : qdisk.5
cman/qdisk : main.c score.c

Log message:
Fix multimaster bug: ensure timings are accurate and provide multi-master conflict resolution

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/man/qdisk.5.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.3.2.3&r2=1.3.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/qdisk/main.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4.2.5&r2=1.4.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/qdisk/score.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2.4.2&r2=1.2.4.3

cman/man/qdisk.5 +4 -3
@@ -216,7 +216,7 @@
 \fItko_up\fP\fB="\fPX\fB"\fP
 .in 12
 This is the number of cycles a node must be seen in order to be declared
-online.  Default is \fBfloor(tko/2)\fP.
+online.  Default is \fBfloor(tko/3)\fP.
 
 .in 9
 \fIupgrade_wait\fP\fB="\fP2\fB"\fP
@@ -229,8 +229,9 @@
 \fImaster_wait\fP\fB="\fPX\fB"\fP
 .in 12
 This is the number of cycles a node must wait for votes before declaring
-itself master after making a bid.  Default is \fBfloor(tko/3)\fP. 
-This can not be less than 2 and should not exceed \fBtko\fP.
+itself master after making a bid.  Default is \fBfloor(tko/2)\fP. 
+This can not be less than 2, must be greater than tko_up, and should not
+exceed \fBtko\fP.
 
 .in 9
 \fIvotes\fP\fB="\fP3\fB"\fP
cman/qdisk/main.c +29 -13

101 lines not on this page · raw message

cman/qdisk/score.c +1 -1
@@ -143,7 +143,7 @@
 	*score = 0;
 	*maxscore = 0;
 	
-	printf("max = %d\n", max);
+	//printf("max = %d\n", max);
 	/* Allow operation w/o any heuristics */
 	if (!max) {
 		*score = *maxscore = 1;