This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE2 - rgmanager: Fix bug in check_rdomain_crash


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=48d07fb8c7b485cb6c05d2d09718697e08e81367
Commit:        48d07fb8c7b485cb6c05d2d09718697e08e81367
Parent:        5d371e58a8a1ca9b16e8dc771af21402a4aa6586
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Thu Apr 2 22:34:53 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Fri Apr 3 09:07:05 2009 -0400

rgmanager: Fix bug in check_rdomain_crash

This could cause erroneous log messages if a
restricted failover domain has not gone offline.

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/src/daemons/groups.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rgmanager/src/daemons/groups.c b/rgmanager/src/daemons/groups.c
index 7300443..f726cd6 100644
--- a/rgmanager/src/daemons/groups.c
+++ b/rgmanager/src/daemons/groups.c
@@ -420,6 +420,8 @@ check_rdomain_crash(char *svcName)
 	if (_group_property(svcName, "domain", fd_name, sizeof(fd_name)) != 0)
 		goto out_free;
 
+	member_online_set(&nodes, &nodecount);
+
 	if (node_domain_set(&_domains, fd_name, &fd_nodes,
 			    &fd_nodecount, &fl) != 0)
 		goto out_free;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]