Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2A31-000315-5Y for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Apr 2017 05:26:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d2A2z-00037N-D9 for pgsql-hackers@arkaria.postgresql.org; Sun, 23 Apr 2017 05:26:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d2A2x-000353-6Y for pgsql-hackers@postgresql.org; Sun, 23 Apr 2017 05:26:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d2A2v-0003ah-0C for pgsql-hackers@postgresql.org; Sun, 23 Apr 2017 05:26:53 +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 v3N5Qknx031535; Sun, 23 Apr 2017 01:26:46 -0400 From: Tom Lane To: Mark Dilger cc: Thomas Munro , Simon Riggs , Alvaro Herrera , Pg Hackers Subject: Re: [COMMITTERS] pgsql: Replication lag tracking for walsenders In-reply-to: <3177FAD5-3600-4C8B-B338-FB108F60455F@gmail.com> References: <20170421190629.3srqyohjocgdvhhr@alvherre.pgsql> <27895.1492808648@sss.pgh.pa.us> <4219.1492875661@sss.pgh.pa.us> <21432.1492886428@sss.pgh.pa.us> <3177FAD5-3600-4C8B-B338-FB108F60455F@gmail.com> Comments: In-reply-to Mark Dilger message dated "Sat, 22 Apr 2017 19:44:28 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31533.1492925206.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 23 Apr 2017 01:26:46 -0400 Message-ID: <31534.1492925206@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 Mark Dilger writes: >> On Apr 22, 2017, at 11:40 AM, Tom Lane wrote: >> In short then, I propose the attached patch to make these cases fail >> more reliably. We might extend this later to allow the old behaviors >> to be explicitly opted-into, but we don't seem to need that today. > I pulled fresh sources with your latest commit, 7d68f2281a4b56834c8e5648f= c7da0b73b674c45, > and the tests consistently fail (5 out of 5 attempts) for me on my laptop= with: > Are the errors expected now? Yes, as of right now, if HEAD *doesn't* fail the src/test/recovery tests for you in an assert-enabled build, that would be surprising. The next step is to actually fix the bugs ... but the point of commit 7d68f2281 was to make these failures reproducible, which they were not before. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers