[Pacemaker] Suggestion to improve movement of booth

yusuke iida yusk.iida at gmail.com
Thu Feb 14 02:36:32 UTC 2013


Hi, Jiaju

Thank you for reply!

2013/2/12 Jiaju Zhang <jjzhang at suse.de>:
> Hi Yusuke,
>
> On Tue, 2013-02-12 at 13:08 +0900, yusuke iida wrote:
>> Hi, Jiaju
>>
>> Could you please reply to this message?
>
> My suggestion is no need to add additional configuration options, in
> this case, the behavior of booth is definitive, return a negative value
> in lease_promise.

I understood it.
According to your suggestion, I cancel the additional setting option.
I change the judgment of current lease_promise to the form according
to "master lease".

When this logic is taken in, "hdr->leased = 1" thinks that processing
of lease_is_prepare becomes unnecessary since it will not be
transmitted.
Is this processing still required?

Regards,
Yusuke.
>
> That being said, for your patch, we only need the block
>
> +       if (hdr->leased == 1) {
> +               log_error("the proposal collided.");
> +               return -1;
> +       }
> +
>
> Thanks,
> Jiaju
>



--
----------------------------------------
METRO SYSTEMS CO., LTD

Yusuke Iida
Mail: yusk.iida at gmail.com
----------------------------------------




More information about the Pacemaker mailing list