Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2Aak-0006kz-Lj for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Apr 2017 06:01:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d2Aaj-0006Wu-Lc for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Apr 2017 06:01:49 +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.84_2) (envelope-from ) id 1d2Aai-0006Vo-Qd for pgsql-hackers@postgresql.org; Sun, 23 Apr 2017 06:01:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d2AaZ-0001Tm-A6 for pgsql-hackers@postgresql.org; Sun, 23 Apr 2017 06:01:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v3N61Y0p000302; Sun, 23 Apr 2017 02:01:34 -0400 From: Tom Lane To: Thomas Munro cc: Simon Riggs , Alvaro Herrera , Pg Hackers Subject: Re: [COMMITTERS] pgsql: Replication lag tracking for walsenders In-reply-to: References: <20170421190629.3srqyohjocgdvhhr@alvherre.pgsql> <27895.1492808648@sss.pgh.pa.us> <4219.1492875661@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Sun, 23 Apr 2017 14:11:40 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32767.1492927294.1@sss.pgh.pa.us> Date: Sun, 23 Apr 2017 02:01:34 -0400 Message-ID: <300.1492927294@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Thomas Munro writes: > On Sun, Apr 23, 2017 at 3:41 AM, Tom Lane wrote: >> As for this patch itself, is it reasonable to try to assert that the >> timeline has in fact changed? > The protocol doesn't include the timeline in reply messages, so it's > not clear how the upstream server would know what timeline the standby > thinks it's dealing with in any given reply message. The sending > server has its own idea of the current timeline but it's not in sync > with the stream of incoming replies. Fair enough. But I'd still like an explanation of why only about half of the population is showing a failure here. Seems like every machine should be seeing the LSN as moving backwards in this test. So (a) why aren't they all failing, and (b) should we change the test to make sure every platform sees that happening? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers