From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/ccs/daemon cluster_mgr.c
Date: 17 Oct 2006 16:46:54 -0000 [thread overview]
Message-ID: <20061017164654.18611.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-10-17 16:46:53
Modified files:
ccs/daemon : cluster_mgr.c
Log message:
Get notifications BEFORE getting state otherwise we have a race condition.
probably fixes bz#210732
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/daemon/cluster_mgr.c.diff?cvsroot=cluster&r1=1.21&r2=1.22
--- cluster/ccs/daemon/cluster_mgr.c 2006/05/10 08:19:11 1.21
+++ cluster/ccs/daemon/cluster_mgr.c 2006/10/17 16:46:53 1.22
@@ -431,6 +431,8 @@
ppid = 0;
}
+ cman_start_notification(handle, cman_callback);
+
cman_fd = cman_get_fd(handle);
quorate = cman_is_quorate(handle);
@@ -438,7 +440,7 @@
members = get_member_list(handle);
- cman_start_notification(handle, cman_callback);
+
while (1)
{
next reply other threads:[~2006-10-17 16:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-17 16:46 pcaulfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-12-14 21:00 [Cluster-devel] cluster/ccs/daemon cluster_mgr.c teigland
2006-12-14 21:01 teigland
2006-12-14 21:01 teigland
2007-05-02 12:42 fabbione
2007-05-02 12:42 fabbione
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=20061017164654.18611.qmail@sourceware.org \
--to=pcaulfield@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 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 NNTP newsgroup(s).