Hi, Jiaju

Thank you for reply!

2013/2/12 Jiaju Zhang <jjzh...@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.i...@gmail.com
----------------------------------------

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to