Re: False "pg_serial": apparent wraparound” in logs

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: "Imseih (AWS), Sami" <simseih(at)amazon(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: False "pg_serial": apparent wraparound” in logs
Date: 2023-10-10 07:20:07
Message-ID: ZST7J0RfjstBD06o@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 05, 2023 at 11:28:02PM +0000, Imseih (AWS), Sami wrote:
> I spent sometime studying this and it appears to be a good approach.
>
> Passing the cutoff page as headPage (SLRU not needed code path ) instead of the tailPage to
> SimpleLruTruncate is already being done when the tailXid is not a valid XID.
> I added an additional condition to make sure that the tailPage proceeds the headPage
> as well.
>
> Attached is v2 of the patch.

Thanks for the updated patch. I have begun looking at what you have
here.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-10-10 07:21:15 Re: Add a new BGWORKER_BYPASS_ROLELOGINCHECK flag
Previous Message Drouvot, Bertrand 2023-10-10 07:18:04 Re: Add a new BGWORKER_BYPASS_ROLELOGINCHECK flag