public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL5 - rgmanager: Fix bug in check_rdomain_crash
@ 2009-04-03  2:37 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2009-04-03  2:37 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=587a851e9b8d13e36c17b44b607d1b7fdd2e4840
Commit:        587a851e9b8d13e36c17b44b607d1b7fdd2e4840
Parent:        e69fc02b504cbd75b9d67ee0cecdbd84a61832ad
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Thu Apr 2 22:34:53 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Thu Apr 2 22:35:25 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 e02a3dc..6d2ce38 100644
--- a/rgmanager/src/daemons/groups.c
+++ b/rgmanager/src/daemons/groups.c
@@ -438,6 +438,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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-03  2:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03  2:37 cluster: RHEL5 - rgmanager: Fix bug in check_rdomain_crash Lon Hohberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).