Re: BUG #17093: invalid primary checkpoint record - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #17093: invalid primary checkpoint record
Date
Msg-id YOvm78B+GrMxjm3D@paquier.xyz
Whole thread Raw
In response to Re: BUG #17093: invalid primary checkpoint record  (Mohan Nagandlla <nagandllamohan@gmail.com>)
List pgsql-bugs
On Mon, Jul 12, 2021 at 11:06:23AM +0530, Mohan Nagandlla wrote:
> Hi team
> Any updates on this?
> Again my server crashed because of invalid chek point .

Your instance is, at short sight, corrupted, as the WAL segment
holding the checkpoint record looked at the beginning of recovery
should be flushed to disk.  Please see here:
https://wiki.postgresql.org/wiki/Corruption

Also, note that using blindly pg_resetwal could cause corruptions in
many ways.  On top of that, it may be something that is wrong in your
configuration.  fsync = off could be an issue, for one.  In short, it
is not really possible to say what's wrong without knowing more how
you are using PostgreSQL.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Mohan Nagandlla
Date:
Subject: Re: BUG #17093: invalid primary checkpoint record
Next
From: PG Bug reporting form
Date:
Subject: BUG #17100: undefined reference to `pg_qsort and pq_xxx