Re: [PATCH v5] Fix exported snapshot xmin handoff race

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: "chee(dot)wooson" <chee(dot)wooson(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH v5] Fix exported snapshot xmin handoff race
Date: 2026-08-20 23:48:13
Message-ID: CAH2-WzkWSsriDo-7vaFZaeYommaYKGGMEtnQtqy5n0yjwnMYng@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Aug 9, 2026 at 11:38 PM chee.wooson <chee(dot)wooson(at)gmail(dot)com> wrote:
> Attached is v5. It fixes the test only; the server-side code is unchanged
> from v4. The point is now PID-filtered to the VACUUM backend (exactly one
> waiter) and is detached before waking.

I pushed your fix just now.

I did not include your test case. It was useful for proving that
ProcArrayInstallImportedXmin was buggy, but didn't seem worth keeping
forever. I was worried about test stability issues.

Thanks!
--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2026-08-20 23:58:23 Re: Report index currently being vacuumed in pg_stat_progress_vacuum
Previous Message Michael Paquier 2026-08-20 23:29:25 Re: [PATCH] Several refactorings for pg_dump