model-writtenrun 8400 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Noah Misch proposed serializing database frozen-ID updates, cluster-wide CLOG truncation, and notification-tail advancement to prevent truncation races; he rejected scanning pg_class twice or skipping updates behind another waiter because of extra work and changed manual VACUUM guarantees #1.
- After Noah rebased the fix #2, Tom Lane questioned why concurrent truncation scans must be prohibited and how serialization protects newly created pages, requested a reproducer, and raised unchecked unlink failures #3.
- Noah explained that one truncation can advance the allocation limit while another still intends to delete the same segment, supplied a separate instrumented reproducer, and favored serialization because this path did not justify delicate concurrency analysis; he also explained why failed unlinks should not prevent advancing the wrap limit #4.
- Thomas Munro suggested avoiding wraparound through 64-bit transaction IDs and wider SLRU filenames, while noting that multixacts would also need 64-bit support #5; Noah welcomed that direction but wanted the locking fix to proceed independently #6 #7.
- Dmitry Dolgov could not reproduce the failure with the supplied harness #8, and Noah explained that its delays were machine-dependent and that it incorporated a separate rounding fix #9; Dmitry subsequently benchmarked parallel vacuuming with the locking patch and found only a small latency increase #10.
- When Dmitry asked about the withdrawn Commitfest entry #11, Noah explained that he wanted review effort directed toward the related rounding fix and intended to commit that first, although he was willing to commit the locking change without further review #12.
- Noah later revived the locking patch with a rebase over upstream lock renames and changed the exposed lock type to frozenid, retaining the original implementation #13.
- In the final message, Noah abandoned the dependency on the rounding fix and planned to commit after August 13, reasoning that the concurrency hazard might occur independently and that releasing first in PostgreSQL 13 would provide an opportunity to discover contention before stable-branch releases #14.
- The locking fix landed on August 15 as 566372b3d6 from #13, with light documentation, comment, and lock-numbering edits and backports to supported releases; the separate diagnostic reproducer was not included.