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 1qj5mT-009FJG-TK for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Sep 2023 22:34:50 +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 1qj5mQ-003mt9-2b for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Sep 2023 22:34:46 +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.94.2) (envelope-from ) id 1qj5mO-003msd-J3 for pgsql-bugs@lists.postgresql.org; Wed, 20 Sep 2023 22:34:45 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qj5mF-006Ojs-CU for pgsql-bugs@lists.postgresql.org; Wed, 20 Sep 2023 22:34:43 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 901483200BFF; Wed, 20 Sep 2023 18:34:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 20 Sep 2023 18:34:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1695249271; x=1695335671; bh=Vx berBe69m1ekZF0dy+utbPObCtiwgMEkR3/5C1LSE4=; b=btTrfa5eoKDZM7O1Yh b4XeUSQ86WxwlC1tLHbQq6R2gqXmwhh7qxuItOlLqejmYnRkSLtc2ZoN1pZnRuhW vwrpVcLWuJ1rwGvU+L6xq4Qxigm4Qfb6fEevsIaHc0Htlxi8R2sKy77Lj9vjS5Ed NGyXtBOD26B3noHx1kEetOHI7vfo6EKz8xUOuIwl1N9nW2T/omb/ub2Y7MzWOaHG IM077y80dGv9Al6R0s22co7W5H6mwdcZpOvGBqHaeDWWeL+oBgcumRdQxB19zwq9 wega8XA7UWX5x5m6dZjOGVjdepbT4MyVqXH7AWqEqh6Sf3rUw5+Bdn5Gj80a95/A TMkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695249271; x=1695335671; bh=VxberBe69m1ek ZF0dy+utbPObCtiwgMEkR3/5C1LSE4=; b=InNfAtUv5JSgEqGEGnl8MxXXmioRv GyTSmSboYcOUC7pAEjTmyyHJUWcYLoY6LKk1biJGhf48JwcxppvbffQ7GRwLq0+2 jBwTBj60BRcmQzWgVBgWFwnRCpCuzVeL2Cb1K7b8ghavXNyIO4q6iwGJNjRCXPrk gQRlk7/QdtipyQEsAIcRXP88DOhFy3R247/qBZY80fAjtfnghH/inkehdCKZ/Pnn iB5w39JhlJst+JF0ZC/px8Cb5qWp3NSnOgQT3crOQG1BXb92eHdbskeLrfVufs88 ey3XDOXnWTMDsLHUOvT7DfGeggNzLYHpRFj5f8m4PmqdTYR88R7WCc1Xw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekgedguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpeffudeffeelgffhkedukeekvedvudfgieetkeekudelfeevhffhffdtudffieeutden ucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdr giihii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Sep 2023 18:34:29 -0400 (EDT) Date: Thu, 21 Sep 2023 07:34:24 +0900 From: Michael Paquier To: zxwsbg@qq.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18119: Failed assert while recoverying from pg_basebackup Message-ID: References: <18119-5f60199d6207f4d1@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WjoEJ0qKzMijOBdU" Content-Disposition: inline In-Reply-To: <18119-5f60199d6207f4d1@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --WjoEJ0qKzMijOBdU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 20, 2023 at 01:12:52PM +0000, PG Bug reporting form wrote: > This problem was first found in PG 15, see following link for details:=20 > https://www.postgresql.org/message-id/flat/20230227.120101.16003587708213= 52577.horikyota.ntt%40gmail.com#65fe5aea5862c8196a4ade348c71fde9 >=20 > And it still exists in PG 16.=20 Missing a recovery.signal prevents the startup process from initializing some structures that may be required once consistency is reached, in this case some of the facility for standby snapshots. I've sent a patch about that, as well: https://commitfest.postgresql.org/44/4244/ The problem is much older than the addition of checkpoints run during crash recovery. -- Michael --WjoEJ0qKzMijOBdU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmULc3AACgkQnvQgOdby QH1T0xAAnqHglLhfJfhgl1illZ39imCS68SKEeZKeUP1aPWDzTXPXv79w34sXcq8 oDhVLarK1im/sQ1KSSU5//gp765g6Kso2lh86dxAR8fdCcJ/SxaiuxP2kXikcU5G mL+/Z0SGATMxa7QwA9YX6FT4zXuMPMG5pcM7Z8MGSwIwLYNqeqdqEqxdNuY71qkp wzlofQtphsfn8YznjWu7V2zHFShS+8yu1v3uIg9DCXWoPKeR/mrOLkmbtTXME6Nu nd65xz3nhn4701SAR3FWZg3m6c+JQVW/BizNiI29TmTDkAQxQ932Y1/pGJi7FtlU hbfqADBaVjuVRP14wRQxVpcm0mtIuF4BtbVUTySjENk64Vg/DuesKgyqpcBoZsqv ClMmbHfAt1D/h/tTuDivx4Rcv7qGHcN/CqApSIC1hqLNv1qQ7vrzhEYkAMfDUT40 WfkEHBFppi3guBiKq2yYTSR4U6TUsAICwolehT354YXqJ69S9a1PNsqYb5eJWP0t gRH+vVol1uGqHLVaCBap4NaqOwynV36dqTbr/4MsaQzRMxbVdPv3Evo5l2SCMd6Q DV4tcD60GpSe+npleb/CaE0QWjW8txHxoWNflPPjivnSS0naJmtt22INji8Yi5ek uC0udhbqvVHzXkcL3CSdPj6n4ClKbF4C6mn6iO53Vw1zchdwaNo= =aFQ6 -----END PGP SIGNATURE----- --WjoEJ0qKzMijOBdU--