Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRpG1-0002kQ-SF for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Apr 2020 03:44:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jRpG0-0006H4-Jg for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Apr 2020 03:44:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRpFy-0006Gx-W4 for pgsql-bugs@lists.postgresql.org; Fri, 24 Apr 2020 03:44:04 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRpFu-0001sG-Rf for pgsql-bugs@lists.postgresql.org; Fri, 24 Apr 2020 03:44:01 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 81A285C0730; Thu, 23 Apr 2020 23:43:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 23 Apr 2020 23:43:56 -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=fm1; bh=qMIuUkd18VtvfONzCh9kPWQSxTB +o3zM00ToPbgLJMQ=; b=Frv86Rx+xrQkObZlAOCmeKDxDC42NkY8CAIHjeH6dbo p5kc1bTiwgNRaPPntiPHfyyaiVaAM09VFpOBnc/N31B1Y6vMFQS4DczIIGV/Tm+Z pYIw4p6zalKunDN51OD1F6z/m2wL1T4DPidYf0v03Z6Mds1FyouVCO+ldZy+3HN/ UJ2T6GS1wXeb2U5reY6l8Z/0NT9RWUVwu51rph1KQ83NqKKjUViVrDENY6k5PhYg xPuLVa/mp+XYm56oSXcgaXBcitHABvL/1OvKNiJNRZgHdRPWNtqLbDRsnNKlYfFe wys44eRPxRugGOhjFy+GrH+TF6fn2K6eMMH0u441ZOw== 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=fm2; bh=qMIuUk d18VtvfONzCh9kPWQSxTB+o3zM00ToPbgLJMQ=; b=E95ZlN7kHpfi0dUcs3Y5ca HDrgTfpWpCNiMdYoC2fvZBknBTeAC40ekMwk8DNIEAvtR+MnVppwSaWTegpIcvEv dCEAYr3VQy9ODdTuETXXpw52narJcZiW8CLB+iQ8p5URza49UKvWJNoseiUFwKeh arH12UKcWLAk2wXaNtqxGlLhIuSKQ0wRtWJt2/OBQxHiOn5/drshbxfSIU4skeib rAXjJ6i4RbxhzFhVf+GfpdMMkF+HdFlVxuI/ZmszTMkHj+BoBsh38Yu5s+BMJMvX TXQTdINeyzpdvV4/ANaSViIavxJHybg20x5lsF1gYNdYwQFdy+QY7PM5V7xWcxhQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrhedtgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecukfhppeduuddurddutd dvrddukedtrddukeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii 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 6CA933280060; Thu, 23 Apr 2020 23:43:54 -0400 (EDT) Date: Fri, 24 Apr 2020 12:43:51 +0900 From: Michael Paquier To: Tom Lane Cc: Jehan-Guillaume de Rorthais , Kyotaro Horiguchi , masao.fujii@oss.nttdata.com, pgsql-bugs@lists.postgresql.org Subject: Re: [BUG] non archived WAL removed during production crash recovery Message-ID: <20200424034248.GL33034@paquier.xyz> References: <20200422175824.637bda91@firost> <20200422181717.491fb499@firost> <20200422234618.GI33034@paquier.xyz> <20200423.140546.1055476118690602079.horikyota.ntt@gmail.com> <20200423185953.5f8e5b8f@firost> <20200423235402.GJ33034@paquier.xyz> <25921.1587694875@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cnBsrynPgIOyCJkL" Content-Disposition: inline In-Reply-To: <25921.1587694875@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --cnBsrynPgIOyCJkL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 23, 2020 at 10:21:15PM -0400, Tom Lane wrote: > Looks like the news is not good :-( Yes, I was looking at that for the last couple of hours, and just pushed something to put back the buildfarm to a green state for now (based on the first results things seem stable now) by removing the defective subset of tests. > I see that my own florican is one of the failing critters, though > it failed only on HEAD which seems odd. Any suggestions what to > look for? The issue comes from the parts of the test where we expect some .ready files to exist (or not) after triggering a restartpoint to force some segments to be recycled. And looking more at it, I suspect that the issue is actually that we don't make sure in the test that the standbys started have replayed up to the segment switch record triggered on the primary (the one within generate_series(10,20)), and then the follow-up restart point does not actually recycle the segments we expect to recycle. That's more likely going to be a problem on slower machines as the window gets wider between the moment the standbys reach their consistency point and the moment the switch record is replayed. -- Michael --cnBsrynPgIOyCJkL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl6iYHcACgkQnvQgOdby QH1OLg/8CBdunbDwpTzNTSfU22lJDruYuCn1bW9KI2gM/Q/sFnptSBMnOGq4fDPp yJbGZOu5e/FBhnDR1+XRZXQ1AlctRBf4ri8M5AY7QZlp7bgTdUEfNFAtpWEoabIY doCdCJ+KUr05N3I6oSol1fm4koxV5iyMkl09JULNNIezXaBYzWxmKQWMQdL8texG q9bjKLP5ON1WIYiWCIBCkUCBYZ3j/CRQNo0i7O189oChiskBs93XdIlVO1Qums1v uxBLRunqwQWGNDH8VTkBJ8C0FuoP+20WeB+awIccON6rre2iHxaRmtUPdPbwZWRj j5T9sSanaJldAuXVTzuReolKDskYDPjIDSBHVhMJmgHLiozQhStTR5ZlJuB8waM6 AJasB2l4pGlVOmCmZ7i/INVljGWJd8SZCQ93xmhM6JYyYzO+3PgvbujiNoICWDj6 y7Ekf5XNzeDcgmg3XAq5jJboJ3qm4B9xYlAGJHOsThaP/l++rO/gaBv1kwEV9No1 NOBkdXuhh3TZ/6h9Lcld13+6kdETXy2I0SKw8nfRt9lQTQFOvk7heACskR/vY3oS z862DIbOv0LPHTzE0T5tw8fcPdnGNpiExj+L31g7ppnZ7eDPevjMh+Ju+tAzvcrS Ry5FTT2hZ263R0owS4w04bKFgaZekEDIAYRUXQLNI2+TmQ/CQsY= =Rc+R -----END PGP SIGNATURE----- --cnBsrynPgIOyCJkL--