From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9327 invoked by alias); 3 Apr 2009 13:07:41 -0000 Received: (qmail 9315 invoked by alias); 3 Apr 2009 13:07:41 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion.fedora.phx.redhat.com Subject: cluster: STABLE2 - rgmanager: Fix bug in check_rdomain_crash To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE2 X-Git-Reftype: branch X-Git-Oldrev: 5d371e58a8a1ca9b16e8dc771af21402a4aa6586 X-Git-Newrev: 48d07fb8c7b485cb6c05d2d09718697e08e81367 From: Lon Hohberger Message-Id: <20090403130715.5CBD41201A2@lists.fedorahosted.org> Date: Fri, 03 Apr 2009 13:07:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00019.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=48d07fb8c7b485cb6c05d2d09718697e08e81367 Commit: 48d07fb8c7b485cb6c05d2d09718697e08e81367 Parent: 5d371e58a8a1ca9b16e8dc771af21402a4aa6586 Author: Lon Hohberger AuthorDate: Thu Apr 2 22:34:53 2009 -0400 Committer: Lon Hohberger 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 --- 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;