[pgpool-hackers: 3404] Re: Failover consensus on even number of nodes

Tatsuo Ishii ishii at sraoss.co.jp
Fri Aug 30 06:03:32 JST 2019


Hi Usama,

Thank you for the commit!
This should make upcoming V4.1 even greater!

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

> Hi Ishii-San
> 
> Thanks for pointing out the missing test case patch, I have committed the
> patch after making a few
> minor changes, mostly the changes are related to the documentation part and
> also I have changed
> the configuration parameter name to "enable_consensus_with_half_votes".
> 
> Thanks
> Best Regards
> Muhammad Usama
> 
> On Thu, Aug 29, 2019 at 3:37 AM Tatsuo Ishii <ishii at sraoss.co.jp> wrote:
> 
>> > Hi Usama,
>> >
>> >> Hi Ishii-San,
>> >>
>> >> The patch looks good overall, but I have few observations.
>> >>
>> >> First I don't think we needed the changes in the
>> >> get_mimimum_nodes_required_for_quorum()
>> >> function, Since the function, returns the int so the change are no-op I
>> >> believe.
>> >>
>> >> Also, I think we need kind of similar changes in
>> >> compute_failover_consensus() where we are checking
>> >> if we have got enough votes for failover as we have done in
>> >> update_quorum_status() function.
>> >>
>> >> So I have updated your patch a little bit. Can you see if the changes I
>> >> made looks good to you?
>> >
>> > Thanks. I will look into this.
>>
>> For me your patch works as expected. However it seems you forgot to
>> patch regression test 004.watchdog, which I already proposed in
>> upthread. Patch reattached.
>>
>> Best regards,
>> --
>> Tatsuo Ishii
>> SRA OSS, Inc. Japan
>> English: http://www.sraoss.co.jp/index_en.php
>> Japanese:http://www.sraoss.co.jp
>>


More information about the pgpool-hackers mailing list