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 1f5uEe-0006eO-GR for pgsql-general@arkaria.postgresql.org; Tue, 10 Apr 2018 14:27:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5uEd-0007CV-Fd for pgsql-general@arkaria.postgresql.org; Tue, 10 Apr 2018 14:26:59 +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 1f5uEc-0007CI-9y for pgsql-general@lists.postgresql.org; Tue, 10 Apr 2018 14:26:59 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5uEX-0007tp-Bw for pgsql-general@postgresql.org; Tue, 10 Apr 2018 14:26:57 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C27A821099; Tue, 10 Apr 2018 10:26:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 10 Apr 2018 10:26:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=vu1oGbx1jedg7Ky68tzM+db8sFb1F DRdgaFg8TAgOpE=; b=UpAV7PNmSPz8Jg89V9iQ+o6glVn8dSc57tpQnlzI59Mgn 9YlQZGFBLK196nZZVarW/VH+FrHExyeADURX1cmgZWLyCBglPXM4sZXKmmmQMj2u JNrMXTX66ulZLiNsEEPxt0XeJLBnfZs49qwZQ0VcpnYtJda8MFL765HpJ1DtXlBW 37eQTvY9OBdmvYyFdpVQjZJ5cckXSMJy75/W30eZHwVQVTNF1IXtQ9dQUw6ActLE ynoC4X3oySSNRIADUSTEDWergFTWapEAef5IGsZwxQBgfJWOA2EBoH48Z6zZGRqG WhPKOoyTfuay1bn9F+4ihUHL0RVSRidg/IhviFodw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vu1oGb x1jedg7Ky68tzM+db8sFb1FDRdgaFg8TAgOpE=; b=MrOkdYBsFtqxZLjG24K0g2 6gOeiynjSC/CW7ot60j01eynzti9mOlZPO95sRiHmT3Mmb1L0MH7CU5B9s/4IT/L cMiKvpVzW7XzPUN3IxEsIas7aj0ji7YrzazqqbCegf89eQ2KJUOKZEmV9hO4blPY ZF1uh494+/JkxkhmJj9lobpn1n1DnMxp5ZE3NEM0Swkya1wbN+T2IMgMXmKJqM8y H2rsNMpClM4p24ez9TAkXVxgH7QztsxD0/o6RiKsPc5W1n1vaHGZlhsIR2IDXuoj lmQHlBV+xUlL6AcUJuvPt7mSfKtQRiSkCLFJ49QmkTYFiR57Lhw/VT9Oa2vJX2XQ == X-ME-Sender: Received: from [192.168.1.2] (71-35-123-124.tukw.qwest.net [71.35.123.124]) by mail.messagingengine.com (Postfix) with ESMTPA id 067DFE43C8; Tue, 10 Apr 2018 10:26:50 -0400 (EDT) Subject: Re: Postgresql Split Brain: Which one is latest To: Vikas Sharma , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: Date: Tue, 10 Apr 2018 07:26:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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