public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: RHEL53 - cman: Fix inconsistent state if a node leaves/joins quickly Date: Mon, 13 Jul 2009 12:04:00 -0000 [thread overview] Message-ID: <20090713120401.98CF11201FC@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=2bac6a6e1a24cd56f08bb89299296bf2a9a6ea58 Commit: 2bac6a6e1a24cd56f08bb89299296bf2a9a6ea58 Parent: ac64d03b9f75cff824fabe3ce40177f972936d5f Author: Christine Caulfield <ccaulfie@redhat.com> AuthorDate: Wed Dec 3 10:46:20 2008 +0000 Committer: Christine Caulfield <ccaulfie@redhat.com> CommitterDate: Mon Jul 13 13:03:02 2009 +0100 cman: Fix inconsistent state if a node leaves/joins quickly This bug was fixed in STABLE2 some time ago. bz#510510 Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> --- cman/daemon/commands.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cman/daemon/commands.c b/cman/daemon/commands.c index 945268a..46ab3fd 100644 --- a/cman/daemon/commands.c +++ b/cman/daemon/commands.c @@ -1979,7 +1979,7 @@ void add_ais_node(int nodeid, uint64_t incarnation, int total_members) node->name = strdup(tempname); } - if (node->state == NODESTATE_DEAD) { + if (node->state == NODESTATE_DEAD || node->state == NODESTATE_LEAVING) { gettimeofday(&node->join_time, NULL); node->incarnation = incarnation; node->state = NODESTATE_MEMBER;
reply other threads:[~2009-07-13 12:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090713120401.98CF11201FC@lists.fedorahosted.org \ --to=chrissie@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /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: linkBe 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 read-only IMAP folder(s) and NNTP newsgroup(s).