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 1o5cEz-0003oo-Dt for pgsql-general@arkaria.postgresql.org; Mon, 27 Jun 2022 00:04:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o5cEx-0000qg-Al for pgsql-general@arkaria.postgresql.org; Mon, 27 Jun 2022 00:04:31 +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 1o5cEv-0000qW-D8 for pgsql-general@lists.postgresql.org; Mon, 27 Jun 2022 00:04:30 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5cEo-0006e1-A8 for pgsql-general@lists.postgresql.org; Mon, 27 Jun 2022 00:04:28 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 038763200124; Sun, 26 Jun 2022 20:04:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 26 Jun 2022 20:04:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=1656288259; x=1656374659; bh=b2tM12bshs QfHEJw8k+x7Ub5StJOOair82YMOE204oQ=; b=Q9yvc4hjl+PjxYbovelzDjz38J 2zBBinv5YWoKNFQTQvC8bwJj7BF0UfmbgOPj1VYKzaSQFuZxbPFkaZI/RjWQ+pzW vUat3aio9PFXSHaTWVGEeB2iB9ufj0zKOrUZBYCmLPkf7dLaTNPcuLba4TbvoIjK QwTFFUNx0K+VIzllEwH15U0VAfytmRJXvelBibI5FPAKVHwNuQD0wsoOIhSBgrmu xZ1bHsj4x8492qQHoO3g68kl5GhNx2homQ2wTL6/OYGhoy8G0ap88HGWrvxCFDd/ a6Wd3aJ2UkgMQLzvUaGcy009osOm3fPhqZis2pF4+e2nzRLhdbIceLswUgJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=1656288259; x=1656374659; bh=b2tM12bshsQfHEJw8k+x7Ub5StJO Oair82YMOE204oQ=; b=BImSlw0+OWOmIBDgFfD0neApdqf1PaGaJJOI1hvXBxYM K8N6VO/SpN5zwgwy0YEm5N4QZ0qR+iz+3X3c90yGkrpxk89+idFvTPKiMcKIYcvd a9GwzVyDT1VexoteClhGmRelj9ZsSSrLj9Dvg6sz3WGOgIsmPW7Un4M4dBj5jDS/ FomD7aCzaZ9nfJki7Oc8sP8aD7XdboAAhu6dFQrXMUb2rxtxSatjEkUxlqeztAJi jWcSb0bXrAZC+ymK74OupA3RoeNY127T6neHRGEEOHe4m0V0K7E4QTjCpNkmkiJJ b+8HZIYeag4lUzecA8+jCJ+yNDJlb2E97Ou7tkge2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeggedgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Jun 2022 20:04:17 -0400 (EDT) Date: Mon, 27 Jun 2022 09:04:12 +0900 From: Michael Paquier To: "Mahendrakar, Prabhakar - Dell Team" Cc: Mateusz Henicz , "pgsql-general@lists.postgresql.org" Subject: Re: Postgresql error : PANIC: could not locate a valid checkpoint record Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fZdLcm0j1y91yQa7" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --fZdLcm0j1y91yQa7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 24, 2022 at 01:03:57PM +0000, Mahendrakar, Prabhakar - Dell Tea= m wrote: > Is it possible to explicitly issue a checkpoint before we move on to > the pg_upgrade command?=20 > so that in the circumstances of the Upgrade issues (like PANIC: > could not locate a valid checkpoint record), we still have this > last explicit checkpoint available.=20 > > Please let us know your thoughts on this. Well, you have mentioned the use of pg_upgrade, but you are giving zero details about what kind of command you used, how you handled the clusters before and after that were upgraded, or what kind of environment is getting used. With this little amount of details, nobody will be able to guess what's happening. This issue could also be caused by the environment. For example, it is possible in some carelessly-setup enviromnents that a flush is issued and recognized as completed by the OS, and thought as completed by Postgres, but an application layer between the OS and the actual hardware did not issue the flush (be it an OS, FS, disk or a VM-related thing), which would make this issue reachable. -- Michael --fZdLcm0j1y91yQa7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmK48/wACgkQnvQgOdby QH2I/RAAgbyhkKDf+jvc12M1EC1liJRwCddM9rxKrwr1qBwEwKHKAV9m6P4lHGha Qqrpf0HpMN7lITmSpd3JKTJRW4y1KFVS4KUBihldWSAMehpBF4DRLz6vdP+SYfFK yZz59BnmhqKhYcRu4qhBeS43/YWIEC4gLCHeiuO8/wv0h4A/xMbCRfZ/5Pv3RkVW BG4jsIYZV09xVg3pcp8xdZEV+1LBRygZ0LMrSxHOfoUlBGZmoQMRJURo8zGIDQV2 ha0YlJYvqjNWPjXmlWPz64qKRxWLXgWDUSWRrWcdfGle2BdHe5EUxYboyFNtbK5k n1jc8YPNjR0Mncq1C8MSnpd9y/SI4m0R8Axyk3oqhFqe2N2cSdWGMAt6VrcV//XN D7K0qu6ePW1yB6DPFh8sJ9JxCLY7SX1/8sQVGUGZ/u24g/Fb8wTzH0MDq2aptBpg a9mZY8+xGwIAlbpJebVNc2rQVJZ3kyuSGwRr6xN0lmaxpSEaEeOYJLQAk3kS6fmP bel+aFWo1cBx5yUV/r+tNXwQXPd4dIejSROXaX72nlRPLjIbCW7pAnNsqKdlGIOz 0yj4g82PH+TetoyNABhjB7VSwmpvc9kRgh1Z0z/uOMPo+uDU6FznQ4JE/07zci0T zsRrBE4RFyfhHo7sBvkNcx0A4jbT7NrseXGBGF1rDaKxkOkbWcw= =fQXH -----END PGP SIGNATURE----- --fZdLcm0j1y91yQa7--