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 1vwxVH-006cgZ-1C for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Mar 2026 07:15:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vwxVE-00FroX-2V for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Mar 2026 07:15:40 +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 1vwxVE-00FroO-1Y for pgsql-hackers@lists.postgresql.org; Mon, 02 Mar 2026 07:15:40 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vwxVB-00000001zKR-1zS3 for pgsql-hackers@postgresql.org; Mon, 02 Mar 2026 07:15:40 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 8BB751D001BF; Mon, 2 Mar 2026 02:15:35 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Mon, 02 Mar 2026 02:15:35 -0500 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=1772435735; x=1772522135; bh=7U4cMgoPOt y+NFSY5BZOeSBiFZxYQr6ip0BAvouPBxk=; b=YWPsmMbv7CgOpsulDqfLmewSj2 uySz7ad9Q1jCeyoNAI8gBOfHMCAU3rZ1S8xdnFpFbm8IPf0Oi/vMt/0c52wNxPUb sdn0BH4cbhGjWZufG+/FImb3JyLNygdImt5dky1ZL2S0aXwuoejy0twL4AeDD0j/ Tu5l9iJh58Q3qlU9V14L9UQUCWt3AEg+z32P4A8Qv32ahqIBCvJq/0c35pIxaJxl +bnNV/Y2zH6rd6ZO3J3tjwRrkOHVAttdhU5MM3kQHRKKQ62HBEpdGDOMbBAFwfuK VWP9gPb7YEvbQw57oJFXxDTGWJz3GUUWoj/ng1tSFwZULWxq3re44auyRAWg== 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= 1772435735; x=1772522135; bh=7U4cMgoPOty+NFSY5BZOeSBiFZxYQr6ip0B AvouPBxk=; b=sSwaXveFLZZL4gZafvbMn8Fs2Ta9PuJGuxerK7BkuEwyC7HKQ0y 2Cshr1KKVJdjBOISbUUkpPKtVA2Sug4X2msqZ4XtsAgrDjBdxhGmgSywGNu2TDNe Mw3XPwqINgc3nO8AxUhk/B7Ap2ZFr0bmfFZI00UG24paoBqbK/mEd2bi0vcPPXRc FkV7POEs3tP6AvvdS5ozSjXihuNQ9/QUSNRkGPWEKzciv1ioR3VrvSBqcNrOuHFb rKk5xZ6IRIZgtu3cbIF0Q0227Ouj5+WDjpVhgGSdyEDwWhsQ0+mhh+TpSYDHTKM7 fpEXbRt14ve9uwr8oSi0J0QoOBWBCEJBaIw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvheejtdegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvgigtg hluhhsihhonhesghhmrghilhdrtghomhdprhgtphhtthhopehkuhhrohgurgdrhhgrhigr thhosehfuhhjihhtshhurdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsh esphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtoheprghlvghkshgrnhguvghrseht ihhmvghstggrlhgvrdgtohhm X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Mar 2026 02:15:33 -0500 (EST) Date: Mon, 2 Mar 2026 16:15:30 +0900 From: Michael Paquier To: Alexander Lakhin Cc: "Hayato Kuroda (Fujitsu)" , pgsql-hackers , Aleksander Alekseev Subject: Re: BUG: Former primary node might stuck when started as a standby Message-ID: References: <180bf13e-235d-46a9-9788-7d6cee40bcdc@gmail.com> <63e55743-669e-4300-a561-7b7ff63723b6@gmail.com> <045cab6f-4738-417e-b551-01adba44d6c3@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oZy9W5yxc5d0M/C4" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --oZy9W5yxc5d0M/C4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 02, 2026 at 09:00:00AM +0200, Alexander Lakhin wrote: > As it turned out, v2 patch works as expected, but the test may still fail > when the build is configured without injection points. Maybe this test ( > and similar one(s)) should be skipped in this case, not sure... Exactly, I don't see what else we can do here except skip the sequences of the test that we know may fail if injection points are not enabled in the build. Looking at v2, the patch ought to comment the reason *why* these tests are skipped and *why* an injection point is used. The reader should have more details than just a small hint about a set of "random failures". I'd suggest to document that once with the first injection point attached, and have the other blocks hold comments telling to look at the first block. -- Michael --oZy9W5yxc5d0M/C4 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmlORIACgkQnvQgOdby QH3y3Q//Y9hoy7CxIyP5y/Ujl4w7OSJyg2kxRRKyIx8o5/55UJ2ZnUhzaqcbtxpr yAJvmz2yvpGAL+6E0cgzDejfZIk1eBaKlMBsT+k16VzvdHG8lxYeaxydwCi0YvXj whgPNOmh9SLxu35aiKzMhfIqIa0KWxk1ttaRTzOAK0wmbQGyjmMl4gE08RdW92xD p3ODCME7Z6+ATWMJOgUSACw6B7XbE20Xs5RztFrmA3eC+PHZTNDv4Yhx5m8uPzKx rznLP4kA1t76NwSb6oTx7jOF8Ex/qkICBtOSdhdt+ppKfUVWwWLh4flgU8Z2uf9R d+UTgr6JPvaFwCIselXvZleOS45lWWHxsDcdyg1QOOBDNYe4Dhu27X2Ou8qL11PA 7ekCOA4wPaoa7et8cZtc3ZF93gbFS2J709nsF6VhhT1vF5lbFcXf3qmOC7EbtRtO 8vAh9PM1DSBXx/FRSwxIA3uIh0MtmuZT199I6bhpHtJ+O/hq7GYpSFf+oVFU9cwW HE8DF13voZaGxWFFF1vfu4HRKkf/6LMDqXl8BA8UL2OeFO8+qVedOa3l6MEAOqJf FViQj68b5SNC51lxfB60Xw1JdYkfebvwiczdZvh7FLQ7UOFbazoJXRG/qCAZNwoo p3HkEIwhuE6m6Ri+GXBe9O+LunlSTua5HMa5meJKlpbvR71CvAU= =Dmwk -----END PGP SIGNATURE----- --oZy9W5yxc5d0M/C4--