Re: Spurious "apparent wraparound" via SimpleLruTruncate() rounding

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Noah Misch <noah@leadboat.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2020-09-07T02:06:12Z
Lists: pgsql-hackers
On Sat, Aug 29, 2020 at 10:34:33PM -0700, Noah Misch wrote:
> Rebased the second patch.  The first patch did not need a rebase.

It looks like a new rebase is needed, the CF bot is complaining here.
--
Michael

Commits

  1. Prevent excess SimpleLruTruncate() deletion.

  2. Fix unlinking of SLRU segments.

  3. Defer flushing of SLRU files.

  4. Change XID and mxact limits to warn at 40M and stop at 3M.