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

Noah Misch <noah@leadboat.com>

From: Noah Misch <noah@leadboat.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2020-09-07T03:14:21Z
Lists: pgsql-hackers
On Mon, Sep 07, 2020 at 11:06:12AM +0900, Michael Paquier wrote:
> 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.

http://cfbot.cputube.org/patch_29_2026.log applies the two patches in the
wrong order.  For this CF entry, ignore it.



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.