Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2GUz-0007hW-EG for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Aug 2019 15:01:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2GUx-0005Nd-Ma for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Aug 2019 15:01:35 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2GUx-0005JK-Ba for pgsql-hackers@lists.postgresql.org; Mon, 26 Aug 2019 15:01:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2GUq-0004cn-JT for pgsql-hackers@lists.postgresql.org; Mon, 26 Aug 2019 15:01:34 +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 x7QF1Ke5030653; Mon, 26 Aug 2019 11:01:20 -0400 From: Tom Lane To: Tomas Vondra cc: Michael Paquier , Andres Freund , Thomas Munro , PostgreSQL Hackers Subject: Re: subscriptionCheck failures on nightjar In-reply-to: <20190826132904.3ayuw36qzl2c4ktr@development> References: <29708.1550079455@sss.pgh.pa.us> <20190213174151.mfylkessxmapt4io@alap3.anarazel.de> <30608.1550080759@sss.pgh.pa.us> <20190213181225.fathyapig4sm4exa@alap3.anarazel.de> <31663.1550082243@sss.pgh.pa.us> <20190213183303.ns54frt7cmvo6pgg@alap3.anarazel.de> <1466.1550085086@sss.pgh.pa.us> <20190213215147.cjbymfojf6xndr4t@alap3.anarazel.de> <20190813080435.GL2551@paquier.xyz> <20190826132904.3ayuw36qzl2c4ktr@development> Comments: In-reply-to Tomas Vondra message dated "Mon, 26 Aug 2019 15:29:04 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30651.1566831680.1@sss.pgh.pa.us> Date: Mon, 26 Aug 2019 11:01:20 -0400 Message-ID: <30652.1566831680@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tomas Vondra writes: > I'm willing to take a stab at it, but to do that I need a way to > reproduce it. Tom, you mentioned you've managed to reproduce it in a > qemu instance, but that it took some fiddling with qemu parmeters or > something. Can you share what exactly was necessary? I don't recall exactly what I did anymore, and it was pretty fiddly anyway. Upthread I suggested >> Now that we know where the problem is, you could probably make it highly >> reproducible by inserting a sleep of a few msec between the rename and the >> second fsync. so why not try that first? regards, tom lane