Re: Postgresql Split Brain: Which one is latest - Mailing list pgsql-general

From Vikas Sharma
Subject Re: Postgresql Split Brain: Which one is latest
Date
Msg-id CAN6gwKzRyw=0EWb0eQg1qTDSoQQY+B0_Tn916KA+467sqKuchQ@mail.gmail.com
Whole thread Raw
In response to Re: Postgresql Split Brain: Which one is latest  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Postgresql Split Brain: Which one is latest  (Melvin Davidson <melvin6925@gmail.com>)
Re: Postgresql Split Brain: Which one is latest  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Hi Adrian,

This can be a good example: Application server e.g. tomcat having two entries to connect to databases, one for master and 2nd for Slave (ideally used when slave becomes master). If application is not able to connect to first, it will try to connect to 2nd.

Regards
Vikas

On 10 April 2018 at 15:26, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 04/10/2018 06:50 AM, Vikas Sharma wrote:
Hi,

We have postgresql 9.5 with streaming replication(Master-slave) and automatic failover. Due to network glitch we are in master-master situation for quite some time. Please, could you advise best way to confirm which node is latest in terms of updates to the postgres databases.

It might help to know how the two masters received data when they where operating independently.


Regards
Vikas Sharma


--
Adrian Klaver
adrian.klaver@aklaver.com

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Postgresql Split Brain: Which one is latest
Next
From: Melvin Davidson
Date:
Subject: Re: Postgresql Split Brain: Which one is latest