Re: relfrozenxid may disagree with row XIDs after 1ccc1e05ae

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: Bowen Shi <zxwsbg12138(at)gmail(dot)com>
Cc: Noah Misch <noah(at)leadboat(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, Alexander Lakhin <exclusion(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: relfrozenxid may disagree with row XIDs after 1ccc1e05ae
Date: 2024-06-17 21:29:48
Message-ID: CAAKRu_ayRj8RWU_G6G5Ot0c0EXBix-w14PEHWhD+vDZAZWLFHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, May 28, 2024 at 4:29 AM Bowen Shi <zxwsbg12138(at)gmail(dot)com> wrote:
>
> Hi,
>
> I only had time to check the fix_hang_15.patch until today.

Did it end up working for you?

> What would happen if we simply skipped the current page when we found the vacuum process had entered the infinite loop (use a counter)?

Skipping the page would mean we can't advance relfrozenxid for the
table on this vacuum. Since we have ways to fix it, it seems better to
do that.

- Melanie

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Munro 2024-06-18 02:03:31 Re: BUG #18514: Encountering an error invalid DSA memory alloc request size 1811939328 when executing script
Previous Message Haifang Wang (Centific Technologies Inc) 2024-06-17 21:06:20 RE: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607