[PATCH v5] Fix exported snapshot xmin handoff race

From: "chee(dot)wooson" <chee(dot)wooson(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "chee(dot)wooson" <chee(dot)wooson(at)gmail(dot)com>
Subject: [PATCH v5] Fix exported snapshot xmin handoff race
Date: 2026-08-10 03:38:20
Message-ID: 20260810113633.4993-1-chee.wooson@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

v4 failed on the macOS CI job: 015_export_snapshot timed out.

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.

Thanks,
Chee

Attachment Content-Type Size
fix-exported-snapshot-xmin-handoff-race-v5.patch text/x-patch 11.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lawrence Barwick 2026-08-10 04:14:15 pg_control_checkpoint(): add "data_checksum_version" (Pg19)?
Previous Message Bruce Momjian 2026-08-10 03:02:44 Re: Adding comments to extension objects