cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andrew Beekhof <andrew@beekhof.net>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] dlm_controld.pcmk: Fix membership change judging issue
Date: Fri, 14 May 2010 11:52:53 +0200	[thread overview]
Message-ID: <AANLkTin1flfGyBE1TXqFthR_eFUbj89FdUy-tytaclpp@mail.gmail.com> (raw)
In-Reply-To: <20100513203604.GQ20952@suse.de>

On Thu, May 13, 2010 at 10:36 PM, Lars Marowsky-Bree <lmb@novell.com> wrote:
> On 2010-05-13T22:19:58, Andrew Beekhof <andrew@beekhof.net> wrote:
>
>> > ais_dispatch() was moved to update_cluster(). That's safe, it seems.
>> But pointless and unrelated to the problem, so why include it?
>
> I took it that JJ thought this was part of the solution.

ci == ais_async_fd,  if there was something to read we should have
already had a callback.

>
>> Does the behavior still occur with pacemaker 1.1.2?
>
> Yes. Which fix do you think would change this?

These two that I mentioned last week:
  http://hg.clusterlabs.org/pacemaker/1.1/rev/34ae9f7b4675
  http://hg.clusterlabs.org/pacemaker/1.1/rev/19fdc0a3885a

I really doubt the patch is the right fix, conceptually, the node
can't be a member until the crmd process is running and done a whole
heap of processing.
So CRM_NODE_MEMBER without crm_proc_crmd makes no sense.

More likely, as-in the patches above, the process list wasn't being
updated correctly and thats what needs to get fixed.
It just never mattered before.

>
> JJ's patch has been tested and seems to work in general as well as
> address the problem.
>
>
> Regards,
> ? ?Lars
>
> --
> Architect Storage/HA, OPS Engineering, Novell, Inc.
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N?rnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>



  parent reply	other threads:[~2010-05-14  9:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-13  8:49 [Cluster-devel] [PATCH] dlm_controld.pcmk: Fix membership change judging issue Jiaju Zhang
     [not found] ` <20100513095117.GM20952@suse.de>
2010-05-13 10:18   ` Jiaju Zhang
2010-05-13 16:25   ` Andrew Beekhof
     [not found]     ` <20100513183215.GP20952@suse.de>
2010-05-13 20:19       ` Andrew Beekhof
2010-05-14  3:04         ` Tim Serong
2010-05-14 10:15           ` Andrew Beekhof
2010-05-14 11:28             ` Jiaju Zhang
     [not found]         ` <20100513203604.GQ20952@suse.de>
2010-05-14  9:52           ` Andrew Beekhof [this message]
2010-05-14 11:25             ` Jiaju Zhang
2010-05-14  4:08     ` Jiaju Zhang
2010-05-14  5:33       ` Jiaju Zhang

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=AANLkTin1flfGyBE1TXqFthR_eFUbj89FdUy-tytaclpp@mail.gmail.com \
    --to=andrew@beekhof.net \
    /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).