From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/fence/fenced member_cman.c
Date: 28 Jul 2006 18:41:01 -0000 [thread overview]
Message-ID: <20060728184101.31315.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fenced/member_cman.c.diff?cvsroot=cluster&r1=1.13&r2=1.14
--- 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))
next reply other threads:[~2006-07-28 18:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 18:41 teigland [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-12-14 19:55 [Cluster-devel] cluster/fence/fenced member_cman.c teigland
2006-12-14 19:55 teigland
2006-12-14 19:56 teigland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060728184101.31315.qmail@sourceware.org \
--to=teigland@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.