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.96) (envelope-from ) id 1wXc6R-003Muf-2I for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Jun 2026 09:53:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXc6O-00FXRM-2Q for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Jun 2026 09:53:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wXc6O-00FXRD-0Y for pgsql-hackers@lists.postgresql.org; Thu, 11 Jun 2026 09:53:32 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wXc6L-00000002VzZ-3BlV for pgsql-hackers@postgresql.org; Thu, 11 Jun 2026 09:53:31 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id EE1271D000BE; Thu, 11 Jun 2026 05:53:26 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Thu, 11 Jun 2026 05:53:27 -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=fm1; t=1781171606; x=1781258006; bh=UQNewm9W2h lpq80NLyKvTPxC9kSIJ9ZQe2jE/LGqR6w=; b=VWFVGQPah7KLmcRqIJY3k5JrUy kyIIb0TWVWjaDfQJRTYBLGArkXdmZ1Xg1s1qYdkoqQgRNOG6w2JR5hK2tBQwE43L Qf8MwRK49JybFMrc6Ly4ruLUCC6TJM4yr61fLd3g/xAy8MTcOmEYTV1JNooSQg+T cLdct0f0QBD2+uBCm/RRrPVNAqIcbw5KvnQgfrH81lGEYqajq3QrI6gjkmlN2Rqq nVs7KGQBjcY3Wnf/+E5fcMws5QWuvFdOKAcrEERvke8y4iLTmYeJj469GT++d7jd 3QD50D//KUXK6HtFw9Ad5iOqL5S1XFT8NpcOvn/8EjrLMRKZ/Bkt48gPCcug== 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=fm1; t= 1781171606; x=1781258006; bh=UQNewm9W2hlpq80NLyKvTPxC9kSIJ9ZQe2j E/LGqR6w=; b=HG6h5x3/hbzZ6uHmBunmv4DnLmZD6SJNWU5jQs9S5qKpD6ECEZg mTvvpxVX5+kXGJSkkn0pIf8P9yigGdz9zWgOpwt/jQmAm7PIFupgJHaENPzA4DHt a/nyv0Pqscz2d2nNHYNHx4zPZ7Ci+nlUwPLQCRQCQYxpohGcc2Epg7kac3d7lsI1 KBUCDLcqxque1AMOx4rbHho+6QcDjfn4tjS5YEyJkI+lZVi41NX0Mut3y03+PQOY W0gkCYtKdmNSR4dLB/64gBzPdllqCmfDCEIT1ub9XubZLDXbHzEchsmL5OfIWphL v2sUnfesIjOyR7nPN4IsgvFdKxq2y98TYSg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGRWbqm4ggNryHEqKwfo7kelkdG8WfWHRoqiFXCe0c8sZqoNzIw0Pck0aOOBGZj2Z JNjMKSclEUvoX75q/teCVnrI69XNTnh9uPTcW0CKEOYnKTh8RhTLKYPeZLeBIMzbrUDjlZ kq7ytrZJyCet4qdj6iaF5S4wxd/8zujd1x4LYXZnN2bXbYyowZb59Ng9Ra8I5XwuRxBtwM Hj9NtnXfTrlGzr2q2CHEu+B7eF5yLHMq4c36Xsdpk00pzWHamrYbCODkfx0zVdJc6fr4Js /acEYNGuc8IH3EvzZosk95n1XvJvmpnaPr1ylOr/3zmHCKmQCo8NQrOAKzNyvwYgQ52KWT UELXshV8B/M9QUV+Ss4dz2K+2DulnqYGZfMnauVMMph0r4qMsTH54RrwZ6kTzJMFHt6gyZ v6oDPzXX7o+cBLvRsSJ1hpNoxuPpo6x2ukHX0te90DggPcv8oubIYQdgbhqDi2qgZ1Mq1l 8A0ij3wJO344VXB0eMxYMxsVoG03gBq7z1gAvbSuqxnP6kmEQdWIZXtGnlP05UwBl+8s8b CO+5V7++MCgUfhf8ztsvwxNe5s8jnYptzHGXTUhT7jrfuBOR55DbDuqJsX0uVhgz9i7kiY b0FlmaKMnCngGjpzNv9NeGu4V6JAXP/YqwRbo+48FaybbcLvfI5a1Qr0QcVw X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Jun 2026 05:53:24 -0400 (EDT) Date: Thu, 11 Jun 2026 18:53:19 +0900 From: Michael Paquier To: Bertrand Drouvot Cc: Xuneng Zhou , "Hayato Kuroda (Fujitsu)" , Alexander Lakhin , pgsql-hackers Subject: Re: t/035_standby_logical_decoding.pl might fail on attempt to read wrong timeline Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8QsCYnoxh4/STvAp" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --8QsCYnoxh4/STvAp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 11, 2026 at 10:15:01AM +0900, Michael Paquier wrote: > The backpatch of PG16 is straight-forward and adding > GetWALInsertionTimeLineIfSet() down there does not look like an issue. > Not having any tests in v16 feels sad, but that's life. It does not > prevent addressing the availability issue on this branch. Backpatch of GetWALInsertionTimeLineIfSet() done in v16. > I'll go take it up from here. I have spent some time on the first part of this patch series, focusing on the noisiest path for logical replication, and applied it down to v17. I have been able to reproduce the problem using Alexander's sleep trick, and let 035 run with the same trick and the patch applied for a few hundred runs. Note that REL_17_STABLE has currently 4 failures in the buildfarm, due to me messing up with the existence of injection_points. I'll probably just remove the test on this branch, 105b2cb33617 adding the requirement on the module only in v18~. -- Michael --8QsCYnoxh4/STvAp Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmoqhY8ACgkQnvQgOdby QH314A//QHZOfekegrTBOWGvrktrzjr0P+VDZGrd2fEC1j2xvAyRw01tz9A6L3Y1 ieNm7XTXJIdNai4MTzYyy5fN8Q1NLF93hPWQfQeG0utBKKsyzFGIjA+3aczscwNO 5k8ZZXyriuFo9ic6HCGo3for/0OV81LX5uH0TTdN1ViH136de/YIUEJSdHgAD3Ci EYVQ3S8OU8V2FoDGJPCHY1yIYe/7+Be7Nuquw3oVkLXbPA6wunZuGzEIWj0ReY+e wRycMEP2X90s3/6ktgtkV/i1xWpKvhdk+0GETurvHjkdAa1D5J78TfnazKqXiaXn EEi7XMNkZXXtUHbTWWT5rS3EAHr99uBGY85/ffyzcrWzpvPWMPyNMAkZe4aClW+3 Vw7bNbnYjGo0fRE22/9JLFtjc+pyUZtOyzX4eW1/Lih6/eUI18itPsttDpG+oq6g TmVVRttFyDfEaD1blQrGUunXLBm+5JTYgLRQJ7rILCHqIuSYiUSsJqtRJhFs9Wlk 8/P1ln1lU1rC2+HedaRFp2Cl7oK6e3MMuNQ7Wfh8J/0lv0pARVsVg7tgYhQFioZD xHmUJHblXg3uTdzbP3AHNIefgRT0DaPl2W80YFP7o28pZVFD4Qgexr73sIEj0+1K v1pYCMXPM9EzJbwF2sAD8YKZbUzm9eiW8l8c8jv/2wnxT1EEWTM= =1SNc -----END PGP SIGNATURE----- --8QsCYnoxh4/STvAp--