[Openais] quorum.h or votequorum.h

Christine Caulfield ccaulfie at redhat.com
Wed Nov 18 23:51:44 PST 2009


On 19/11/09 07:44, Dietmar Maurer wrote:
>>>>> these weren't available for openais whitetank, so we have a custom
>>>>> version that we will "soon" replace with the one from corosync.
>>>>
>>>> Great! I guess you will use votequorum?
>>>
>>> It would be configurable I imagine.
>>
>>
>> If all you need to know is "do we have quorum?" then you should use
>> quorum.h. That way it will automatically work regardless of what type
>> of
>> quorum is configured.
>
> Problem with that is that you need to save "expected_votes" somewhere, and quorum does not provide that value.
>


That's why I said "If all you need to know is 'do we have quorum?'".

It's important to be aware that other quorum systems might not, and 
probably won't have, any concept of expected_votes. So it's not 
something you can rely on being there.


Chrissie


More information about the Openais mailing list