[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: membership by
alanr at unix.sh
Wed Feb 23 10:39:27 MST 2005
Guochun Shi wrote:
> At 09:55 PM 2/22/2005 -0700, Alan Robertson wrote:
>>linux-ha-cvs at lists.linux-ha.org wrote:
>>>linux-ha CVS committal
>>>Author : gshi
>>>Host : Project : linux-ha
>>>Module : membership
>>>Dir : linux-ha/membership/ccm
>>>After receiving T_SHUTDONE message, ccm should be staying
>>>in a unique dead state waiting to be killed instead of starting a new round of joining a cluster again.
>>It should ignore the T_SHUTDONE message at all times.
>>It's an error that it's being sent anyway...
> I think it is necessary since ccm evicts all its clients in receiving T_SHUTDONE message,
> Otherwise ccm's clients might get error if ccm is killed.
Then this is a bug in CCM.
This message is being sent due to a bug in heartbeat. It's associated with
resource management - which is no longer being done with the CRM activated.
The CCM receives a signal from us to tell it shut down. It can shut down
clients on that signal as easily as it can from the T_SHUTDONE message.
The only clients this is needed for are clients we don't manage - as *our*
CCM clients get shut down before heartbeat stops the CCM.
Andrew added some nice new code to make signals first-class event sources.
It's called G_main_add_SignalHandler(). [I wish I'd thought of that a
long time ago!].
You might look into that.
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA-Dev