[OCF] Re: question about membership in Event Notification API
Ram
linuxram at us.ibm.com
Wed Mar 9 17:14:33 MST 2005
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
More information about the OCF
mailing list