pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Mahendrakar, Prabhakar - Dell Team <Prabhakar.Mahendraka@dellteam.com>
Cc: Mateusz Henicz <mateuszhenicz@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Postgresql error : PANIC: could not locate a valid checkpoint record
Date: Mon, 27 Jun 2022 09:04:12 +0900
Message-ID: <Yrjz/GFFOR7t097G@paquier.xyz> (raw)
In-Reply-To: <BYAPR19MB28868A85B930A6942A1EB75C94B49@BYAPR19MB2886.namprd19.prod.outlook.com>
References: <BYAPR19MB2886F1A1C7642D2A8000DAE394AF9@BYAPR19MB2886.namprd19.prod.outlook.com>
	<CAN6i3YP8GXuYSjX8ULqhJx911FOjajhKTA993-hNFoz-nr-FLw@mail.gmail.com>
	<BYAPR19MB2886F6704652C75AEF199D7E94AF9@BYAPR19MB2886.namprd19.prod.outlook.com>
	<CAN6i3YMVc4CpSHwvawPHTd+yJv5qBE4Sv96ssG8GR05SdsH+Zw@mail.gmail.com>
	<BYAPR19MB2886269ACCBE907983ACD17894B09@BYAPR19MB2886.namprd19.prod.outlook.com>
	<BYAPR19MB2886F67734ACEB07FAE1391E94B39@BYAPR19MB2886.namprd19.prod.outlook.com>
	<CAN6i3YPCBJsT3ez5v+G4R1aGMR-3kOF3u46mtYaMj-jWk+DQ2g@mail.gmail.com>
	<BYAPR19MB2886157EE36EAA32F879868594B29@BYAPR19MB2886.namprd19.prod.outlook.com>
	<BYAPR19MB28868A85B930A6942A1EB75C94B49@BYAPR19MB2886.namprd19.prod.outlook.com>

On Fri, Jun 24, 2022 at 01:03:57PM +0000, Mahendrakar, Prabhakar - Dell Team wrote:
> Is it possible to explicitly issue a checkpoint before we move on to
> the pg_upgrade command? 
> 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. 
>
> 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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (13+ messages)  latest in thread

Message-ID: <Yrjz/GFFOR7t097G@paquier.xyz>
Permalink:  ../Yrjz%2FGFFOR7t097G@paquier.xyz/
Also on:    postgresql.org/message-id/Yrjz/GFFOR7t097G@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: michael@paquier.xyz, Prabhakar.Mahendraka@dellteam.com, mateuszhenicz@gmail.com
  Subject: Re: Postgresql error : PANIC: could not locate a valid checkpoint record
  In-Reply-To: <Yrjz/GFFOR7t097G@paquier.xyz>
  References: <BYAPR19MB2886F1A1C7642D2A8000DAE394AF9@BYAPR19MB2886.namprd19.prod.outlook.com> <CAN6i3YP8GXuYSjX8ULqhJx911FOjajhKTA993-hNFoz-nr-FLw@mail.gmail.com> <BYAPR19MB2886F6704652C75AEF199D7E94AF9@BYAPR19MB2886.namprd19.prod.outlook.com> <CAN6i3YMVc4CpSHwvawPHTd+yJv5qBE4Sv96ssG8GR05SdsH+Zw@mail.gmail.com> <BYAPR19MB2886269ACCBE907983ACD17894B09@BYAPR19MB2886.namprd19.prod.outlook.com> <BYAPR19MB2886F67734ACEB07FAE1391E94B39@BYAPR19MB2886.namprd19.prod.outlook.com> <CAN6i3YPCBJsT3ez5v+G4R1aGMR-3kOF3u46mtYaMj-jWk+DQ2g@mail.gmail.com> <BYAPR19MB2886157EE36EAA32F879868594B29@BYAPR19MB2886.namprd19.prod.outlook.com> <BYAPR19MB28868A85B930A6942A1EB75C94B49@BYAPR19MB2886.namprd19.prod.outlook.com> <Yrjz/GFFOR7t097G@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox