[OCF] Re: question about membership in Event Notification API

Guochun Shi gshi at ncsa.uiuc.edu
Wed Mar 9 17:34:42 MST 2005


At 04:14 PM 3/9/2005 -0800, you wrote:
>On Wed, 2005-03-09 at 14:30, Lars Marowsky-Bree wrote:
>> On 2005-03-09T11:44:02, Ram <linuxram at us.ibm.com> wrote:
>> 
>> > brushing my rather old memory: there is a difference between
>> > OC_EV_MS_INVALID and OC_EV_MS_NOT_PRIMARY
>> > 
>> > OC_EV_MS_INVALID: means I am exactly sure that I am not part of any
>> > membership.
>> 
>> Doesn't make sense, each and every node is at least in a single
>> membership containing itself, no? Unless of course it misses its own
>> local heartbeats.
>
>Agreed. I got the OC_EV_MS_INVALID wrong. Its just a placeholder. It
>should never be sent as a membership event.
>
> In the case of CCM it is sent when the membership is not-primary( ie.
>when there is no-quorum). And the reason this was done in CCM was
>because OCF-membership-api did not have a equivalent event type that
>conveyed non-primary membership.
>
>
>OC_EV_MS_NOT_PRIMARY: means I am in a state of transition, and don't
>know exactly what my membership status is.
>
>BTW: can somebody point me to the URL of the membership API.
>
>
>RP
> 

draft 3
http://lists.community.tummy.com/pipermail/ocf/2002-August/000663.html
draft 4
http://lists.osdl.org/pipermail/cgl_discussion/2002-December/000670.html

I was referring to draft 3

-Guochun



More information about the OCF mailing list