Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u1CDW-00Fho8-7m for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Apr 2025 22:42:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u1CDU-004Hfj-94 for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Apr 2025 22:42:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u1CDT-004Hfb-J9 for pgsql-hackers@lists.postgresql.org; Sat, 05 Apr 2025 22:42:20 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u1CDR-003BVG-2M for pgsql-hackers@postgresql.org; Sat, 05 Apr 2025 22:42:18 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id B00E011400F4; Sat, 5 Apr 2025 18:42:16 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Sat, 05 Apr 2025 18:42:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1743892936; x=1743979336; bh=DvDd5oxpQL jTzAbbiw2nYdmQ4oNzS+nsaTwF4tHw7tA=; b=Lxnk16uCi3o8rstQU9wqJUg0cI Smbdn3aD0xMmnB5A1sZ7Pra8KJeuZwbAC04vtQAkMaL6cRKsd7fjtjRngHMDWS64 B8Yidc0ULUdhFW1do/HSeK2vgrJqDAhc3ygJYukGlfMTmEwKi9DpDm1FeSMj4FQH OCe7Qaih0tQde3l8lg9lCFmzr076VMvu/Iyim4yCG27K7ciEaBp4kvIRG/3kPaku qSDMzhLIwFxC1d01IuRTCJSnpVVB4Nu9ZyEl5JBVc8+YYD3w1HKULFVLKmDb/kJg UhnQxi2yRZszIgJpCKQToFqWWa/D5FxB0b/ZqUsPq56DzD3RhByw1Gtvk6KQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1743892936; x=1743979336; bh=DvDd5oxpQLjTzAbbiw2nYdmQ4oNzS+nsaTw F4tHw7tA=; b=ZFDGRUEYx4bpUPRRBCxdsEwz5vAfXN1D8X9YW+NEOC/Mms2jm5X 0OjpAWIjsVposBt3xh6564+xKI2bTtLUxNiIftBd2uxX3/aVJDTOhk/p93eAX+n8 I1kBeHAx+3s8q1scwhB4DkYWkt6J2Q4IDrdovv4klMt5ASOzAt2KmCYr3dYxnQfx JM97K5G5hNDEhI6APTR0MKFIJ3AIw0ZVHgd+7kap55fmYc5A8UV1Wyrr514IxH+j NqEZEAoU6R+fay8q31EwrDzTP7KZemWW3mZtgFMQ52nEoK0P/tyLKtJV7FUD7HTx 2VsZE1Cs5BzGEDByOPp9iA7/+THyTy92Bpw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleehheelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefu kfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivg hruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhep teelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggv lhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepkedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepnhhorghhsehlvggruggsohgrthdrtghomhdprhgtphhtthho pehtghhlsehsshhsrdhpghhhrdhprgdruhhspdhrtghpthhtohepnhgrthhhrghnuggsoh hsshgrrhhtsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprghnughrvghssegrnhgrrhgr iigvlhdruggvpdhrtghpthhtoheprhhosggvrhhtphgrnhhgsehgohhoghhlvgdrtghomh dprhgtphhtthhopehhohhrihhkhihothgrrdhnthhtsehgmhgrihhlrdgtohhmpdhrtghp thhtoheprhhosggvrhhtmhhhrggrshesghhmrghilhdrtghomhdprhgtphhtthhopehpgh hsqhhlqdhhrggtkhgvrhhssehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Apr 2025 18:42:11 -0400 (EDT) Date: Sun, 6 Apr 2025 07:42:02 +0900 From: Michael Paquier To: Noah Misch Cc: Tom Lane , Nathan Bossart , Andres Freund , Robert Pang , Kyotaro Horiguchi , robertmhaas@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Back-patch of: avoid multiple hard links to same WAL file after a crash Message-ID: References: <20250306193013.36.nmisch@google.com> <20250311205749.a8.nmisch@google.com> <20250312012315.fd.nmisch@google.com> <20250403002900.5d.nmisch@google.com> <2461391.1743865633@sss.pgh.pa.us> <20250405191339.8d.nmisch@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ln66crX8qYZYLMo9" Content-Disposition: inline In-Reply-To: <20250405191339.8d.nmisch@google.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ln66crX8qYZYLMo9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 05, 2025 at 12:13:39PM -0700, Noah Misch wrote: > Since the 2025-02 releases made non-toy-size archive recoveries fail easi= ly, > that's not enough. If the proposed 3-second test is the wrong thing, what > instead? I don't have a good idea about that in ~16, TBH, but I am sure to not be a fan of the low reproducibility rate of this test as proposed. It's not perfect, but as the design to fix the original race condition has been introduced in v15, why not begin with a test in 17~ using some injection points? This should be good enough while having a good=20 reproduction rate as the order of the actions in the restart points would be controlled. -- Michael --ln66crX8qYZYLMo9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmfxsboACgkQnvQgOdby QH2vug//Yo4DOVW5Ghd3a8MswHBOtzITqj3MCJc+Qt1JdQM6lypNiu+zWuqTjUf9 C2iJikXq2Y08LI+0ZMQDds5eNiLuSeEBmfZUBihJ6N87Yr3TGt/je6emA/HOLmCx 06yXyOkZLLcHAOfHOY1E8QSCk7mbWFdBUM+NRSHeUXF8FSD2418M6olpP+LQhvLk 6xJIar++FZAIO9AkVfdG6xrWhqSzY5H2imL2ta1AEM2sBOayGdZEUhBnd0Uhl7N1 4yTAuXInqhytEiywPqgfOcZzwkhgQL2Jd7rgvyeWezQo3ggeOWL/W2DEj+KFysr3 j2rD43WHNkY3FOJzg3FtH5hVCT+oRK7c/9+EA1uo2KVRTE0RhS6/zsX0fNWeeqav boKev4WuZxD9s22WVL7KQxD2sY4ANg/LL/sd7sD7vSbMfoheYm6t0W35Hg25oqEy sGqD67vUyQ2E2iF2jax1CyIomwaiIV9HJalAfCm/Rh0BW8XmsrnIIM8wtDR6DxfE 4K9Vvv6Gnvt6+deTjJ8ZpGDcpbN0ZEpvlt/Lvqck4TPpy/UcvehNC7oX9f7YQkJk yk0gcdwPafeZbqZuJKiU4J3evESTJtnwn9hXtVmrRF3dKshNAKGogSi2s40M2Q+2 r0jrjuM5u/gZvdVAyqdU+lBBIdvsFr2NXi4vuI3QrAuBakPHVlw= =G0iU -----END PGP SIGNATURE----- --ln66crX8qYZYLMo9--