[pgpool-general: 4593] Re: Two masters

Tatsuo Ishii ishii at postgresql.org
Wed Mar 30 16:31:09 JST 2016


Currently there is no reliable way to detect duplicated primary nodes.
However in practice you can notice that replication delay is getting
larger with the mistakenly promoted primary because no data
propagation from the real primary is made to the primary.

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

> Hello,
> 
> If PGPool detects two masters when in steaming replication mode (which
> could have been caused by operator error, another HA product or whatever)
> is there a way to make it disallow connections?
> 
> Essentially I want to ensure that there is never two servers which respond
> false to pg_is_in_replication at once (as that would be bad).
> 
> Bonus points if I could select the current master as the one with the
> highest timeline!
> 
> Cheers,
> 
> 
> James Sewell,
> PostgreSQL Team Lead / Solutions Architect
> ______________________________________
> 
> 
> Level 2, 50 Queen St, Melbourne VIC 3000
> 
> *P *(+61) 3 8370 8000  *W* www.lisasoft.com  *F *(+61) 3 8370 8099
> 
> -- 
> 
> 
> ------------------------------
> The contents of this email are confidential and may be subject to legal or 
> professional privilege and copyright. No representation is made that this 
> email is free of viruses or other defects. If you have received this 
> communication in error, you may not copy or distribute any part of it or 
> otherwise disclose its contents to anyone. Please advise the sender of your 
> incorrect receipt of this correspondence.


More information about the pgpool-general mailing list