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

[Cluster-devel] cluster/fence/fenced member_cman.c

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland sourceware org	2006-07-28 18:41:00

Modified files:
	fence/fenced   : member_cman.c 

Log message:
	Update the cman member list every time we call is_member().  When
	called from the fence delay loop, we're not processing callbacks
	so our member list won't be updated as a result of a cman callback.


--- cluster/fence/fenced/member_cman.c	2006/07/25 20:05:52	1.13
+++ cluster/fence/fenced/member_cman.c	2006/07/28 18:41:00	1.14
@@ -193,6 +193,10 @@
 	cman_node_t *cn;
+	/* Note: in fence delay loop we aren't processing callbacks so won't
+	   have done a statechange() in response to a cman callback */
+	statechange();
 	cn = find_cluster_node_name(name);
 	if (cn && cn->cn_member) {
 		if (in_groupd_cpg(cn->cn_nodeid))

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