model-writtenrun 9463 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported apparently orphaned SIReadLock entries accumulating across parallel regression runs, warning that the leak could exhaust lock-table space; Thomas Munro began investigating #1 #2.
- Andrew Dunstan proposed checking for leaked locks near the end of regression testing, but Tom Lane opposed the idea because concurrent tests could legitimately hold predicate locks or still be cleaning up #3 #4.
- Thomas Munro reproduced the leak and posted a patch removing the read-only-safe exclusion from SxactGlobalXmin tracking, explaining that every transaction must participate for the horizon to advance #5.
- Tom Lane questioned the absence of leak detection without endorsing the fix; Thomas Munro explained that predicate locks can outlive their originating transaction and that skipping a read-only transaction's decrement leaves SxactGlobalXminCount stuck, preventing ClearOldPredicateLocks() from running #6 #7.
- Thomas Munro committed the posted fix with an additional reversion making DOOMED flag assignment unconditional, explaining that the old condition had become unnecessary because final release now forces isCommit to false #5 #8 47a338cfcd.
- The thread ended with the fix committed and Thomas Munro planning to update the open-items page; no regression test or additional leak-detection mechanism was added #8 47a338cfcd.