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-30T06:06:40Z
Lists: pgsql-hackers
On Sun, Sep 06, 2020 at 08:14:21PM -0700, Noah Misch wrote:
> http://cfbot.cputube.org/patch_29_2026.log applies the two patches in the
> wrong order.  For this CF entry, ignore it.

OK, thanks.  This is a bug fix, so I have moved that to the next CF
for now.  Noah, would you prefer more reviews or are you confident
enough to move on with this issue?
--
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.