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 1iAOIe-0000Ge-Ls for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Sep 2019 00:58:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iAOIc-0006N3-Eu for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Sep 2019 00:58:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iAOIc-0006Mt-3M for pgsql-hackers@lists.postgresql.org; Wed, 18 Sep 2019 00:58:26 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iAOIZ-0003wF-S2 for pgsql-hackers@lists.postgresql.org; Wed, 18 Sep 2019 00:58:25 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 5135F4B6; Tue, 17 Sep 2019 20:58:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 17 Sep 2019 20:58:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=Ill7IU8zPZ5P2IwcCLRkx9RL8ms TCd4fr2bR8WrLTfs=; b=uA1YJMQa6xt9gC80B97AhbVtukgGaMqV2Ml0HafZrPP zTablgdfghMgOSap8tLE3QIjXpAQughV5s0mFm74SPFtI9a9v7dI5ioJWMOtSyZt 0wA9E0g8IbbbqFPIRxjAkhwp2JRZLIAspC8xKWFkIEYalaYUlhlsbkJfHhq1aAiI Jm1qlRRzzzx/WTUgFwb5G+4scT1SNTh27m9Avl8VCVzQzYSPaq5EW2Odo/27ZVrf 4q4NahKNnOmk4G4vDyN5/PIxmFubKMxlswi1QN85s1Ei4KDGwlrVI17paOX6tEfO sj252p1sVWyh/hAzxtQbyYbToYwc6CypWHqrBFQU6Tg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Ill7IU 8zPZ5P2IwcCLRkx9RL8msTCd4fr2bR8WrLTfs=; b=RFu/6WA0c+7OtNZyUo0naI o+fwZVfmVCMQBHUX8hyWF7aBXOzw/xWrTv8vC3qztRkpy4olL7SDeH14JaEJ3q2O CAbE4+wwGE9ovQdXwOkQYQUImNcBP8zXW21VxUOI1b3lIUqRL3CgHEchZzqgrifY fKCtQCJYxA7tW7juytJFbHKGN20xYb3nAjU2mtX78heUuIQA5oqmT/3L8eWo11oX cAOEmcIuPlGi/nH7rnahA/kRc+C422RuCsypiBxXHDAkr6FKYbAhUg2EFayctVcE ilZPslZ/DLdtIid6Z+/6iHqVoIyOv0K94kXo/0ggHAiXdCLXWegY1peb+6JD8zVw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejgdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduuddurddutddvrddukedtrddukeehnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluh hsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id C2BE080066; Tue, 17 Sep 2019 20:58:18 -0400 (EDT) Date: Wed, 18 Sep 2019 09:58:15 +0900 From: Michael Paquier To: Tomas Vondra Cc: Tom Lane , Robert Haas , Andres Freund , Thomas Munro , PostgreSQL Hackers Subject: Re: subscriptionCheck failures on nightjar Message-ID: <20190918005815.GB8909@paquier.xyz> References: <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> <7361.1568738373@sss.pgh.pa.us> <20190917194510.iqwyl3be62pz7l27@development> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Content-Disposition: inline In-Reply-To: <20190917194510.iqwyl3be62pz7l27@development> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --hHWLQfXTYDoKhP50 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Sep 17, 2019 at 09:45:10PM +0200, Tomas Vondra wrote: > FWIW I agree with Andres that there probably is an actual bug. The file > should not just disappear like this, it's clearly unexpected so the > PANIC does not seem entirely inappropriate. Agreed. > I've tried reproducing the issue on my local systems, with the extra > sleeps between fsyncs and so on, but I haven't managed to trigger it so > far :-( On my side, I have let this thing run for a couple of hours with a patched version to include a sleep between the rename and the sync but I could not reproduce it either: #!/bin/bash attempt=0 while true; do attempt=$((attempt+1)) echo "Attempt $attempt" cd $HOME/postgres/src/test/recovery/ PROVE_TESTS=t/006_logical_decoding.pl make check > /dev/null 2>&1 ERRNUM=$? if [ $ERRNUM != 0 ]; then echo "Failed at attempt $attempt" exit $ERRNUM fi done > Yes, it should be moved to the older section - it's clearly a v11 bug. And agreed. -- Michael --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl2BgScACgkQnvQgOdby QH1Jrw//W0g89WVt24FO698+ToX3Y/R8PaL+L9utzVwjfE3q4xC4uFYik2YNlqcA u8TRPyc3OiBO7AdJUwFk/xxyZJyF1RQ76itp/R7xx6+ZDW7f09zIbih0KWyqmjEo 5B5NSMn11Pbqz1f3qd7Vb9sGp+XaHLTVLewDwAMyOol6h29YqHcF/aFoRIHW3XCo BIc7zlazQhEe/ZD6MipOQaGUEyn4MTS1bA+XFxMzdpWAJxOVsnLBp8O+990hagme 0eRonq5LihXEDqGbist0O6wlfkDmW2bszZ7mayVxjoLH7MF8YVEjppj27zisD1xw qONx5NzRO8aKddwiel16+6CLqBjbBfIDKghkM8SOhM+b2flFe7cfp7pg8Q+zAPAc YdA7JzmtnARlpB2lLb0qBbvZUxlJ/H/WC4IpdTzOhFWl0yWbniygXfyZmiH3fUSW TQ7GWbuS5CPMsAu65sBBtjjVcpnPV7QbfF1F/n9w9AL3mc/hCEQx5G6zmAD4OR9d +qudLhtnz1VNQIxhua8DpUgjHcJTJ+mOKLwavy+AWWd7F7nneCJN30wM5V0kdhXv FiJ+CcrcU/kkE2DZGh0N/Y9d9I9UAkocRn5f89uN23v9Ppnl47Ok7p5QNhyVGpAZ n5Y8kXbAbVz5bdNoG974Yvi5pglB9ZjRKIUxmZy14YHezX3sISY= =2aWO -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50--