Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5uC4-0006RI-2v for pgsql-general@arkaria.postgresql.org; Tue, 10 Apr 2018 14:24:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5uC2-0006Je-Tw for pgsql-general@arkaria.postgresql.org; Tue, 10 Apr 2018 14:24:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5u8h-0008IP-02 for pgsql-general@lists.postgresql.org; Tue, 10 Apr 2018 14:20:51 +0000 Received: from ppp-2-84-221-32.home.otenet.gr ([2.84.221.32] helo=smadev.internal.net) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5u8c-0007mA-ML for pgsql-general@lists.postgresql.org; Tue, 10 Apr 2018 14:20:49 +0000 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id w3AEKhID041709 for ; Tue, 10 Apr 2018 17:20:43 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Postgresql Split Brain: Which one is latest To: pgsql-general@lists.postgresql.org References: From: Achilleas Mantzios Message-ID: Date: Tue, 10 Apr 2018 17:20:43 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/04/2018 16:50, 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. The one with the latest timeline. > > Regards > Vikas Sharma -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt