[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/cman-kernel/src cnxman.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	pcaulfield sourceware org	2007-01-19 10:24:46

Modified files:
	cman-kernel/src: cnxman.c 

Log message:
	Tell SM when the quorum device comes or goes.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman-kernel/src/cnxman.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.42.2.12.4.1.2.13&r2=1.42.2.12.4.1.2.14

--- cluster/cman-kernel/src/Attic/cnxman.c	2006/12/18 11:37:53	1.42.2.12.4.1.2.13
+++ cluster/cman-kernel/src/Attic/cnxman.c	2007/01/19 10:24:46	1.42.2.12.4.1.2.14
@@ -4180,12 +4180,14 @@
 		if (quorum_device->state == NODESTATE_DEAD) {
 			quorum_device->state = NODESTATE_MEMBER;
 			recalculate_quorum(0);
+			sm_member_update(cluster_is_quorate);
 		}
 	}
 	else {
 		if (quorum_device->state == NODESTATE_MEMBER) {
 			quorum_device->state = NODESTATE_DEAD;
 			recalculate_quorum(0);
+			sm_member_update(cluster_is_quorate);
 		}
 	}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]