model-writtenrun 501 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- chee.wooson reported that concurrent snapshot import, XID-less exporter cleanup, and VACUUM horizon scanning could lose both advertised xmins and remove still-visible tuples, initially proposing an atomic three-state PGPROC protocol and an injection-point reproducer in #1, #2, and #3.
- chee.wooson simplified the design in #4 to acquire ProcArrayLock exclusively during snapshot import, abandoning the state machine and combining the fix and adjusted test into one attached patch.
- Peter Geoghegan pointed out two related snapshot bugs in #5; chee.wooson explained in #6 that recovery snapshot contents were a separate issue and that import after recovery had selected its conflict waiters still required another fix, leaving that work to the separate recovery-conflict discussion.
- Platform test failures led chee.wooson to revise the reproducer to pause after reading the importer's xmin and to exercise premature tuple removal on an unfixed server; the inline revision in #7 was ultimately supplied as an attachment in #9.
- After a macOS timeout, chee.wooson submitted #10 with test-only changes that restricted the injection point to the VACUUM backend and detached it before waking, preserving the same server fix.
- Peter Geoghegan committed the locking fix from #10 as e94ba903bc, with a clearer comment and backpatch instructions through PostgreSQL 14, but omitted the test and its supporting hooks because of stability concerns, as announced in #11.
- chee.wooson agreed in #12 that the test mainly served as a reproducer and should be left out, closing the thread with the bug fix landed and the test deliberately excluded.