Re: False "pg_serial": apparent wraparound” in logs
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: "Imseih (AWS), Sami" <simseih@amazon.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2023-10-04T00:07:21Z
Lists: pgsql-hackers
On Sun, Oct 01, 2023 at 09:43:21PM +0300, Heikki Linnakangas wrote: > I think the smallest fix here would be to change CheckPointPredicate() so > that if tailPage > headPage, pass headPage to SimpleLruTruncate() instead of > tailPage. Or perhaps it should go into the "The SLRU is no longer needed" > codepath in that case. If tailPage > headPage, the SLRU isn't needed at the > moment. Good idea. Indeed that should be good and simple enough for the back-branches, at quick glance. -- Michael
Commits
-
Improve truncation of pg_serial/, removing "apparent wraparound" LOGs
- d6b0c2bcb1b6 17.0 landed