model-writtenrun 3550 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera opened the thread with an announcement of configurable SLRU caches, bank-local searches, and separate bank locks, crediting Andrey Borodin and Dilip Kumar; configurable sizes were chosen because automatic memory-pressure management remained a much larger unfinished project #1.
- A Coverity dead-code report prompted Alvaro Herrera to propose simplifying GetMultiXactIdMembers lock handling and investigate similar patterns elsewhere #2.
- Tom Lane questioned holding a lock across allocation and identified a dead assignment #3, while Dilip Kumar objected to carrying an offset-cache lock into member-cache processing #4.
- Alvaro Herrera addressed both reviewers by releasing the lock before allocation and resetting it before member processing; he also added separate subtrans.c loop and slru.c helper cleanups, postponing the subtrans change until he could add test coverage #5.
- The slru.c helper cleanup from #5 landed unchanged as a separate commit f9baaf96d3.
- In the last message, Alvaro Herrera supplied a corrected subtrans loop that initializes the ending page before breaking, and said he was writing a test #6.
- The corrected subtrans patch from #6 subsequently landed with an added recovery test 1a2654b32b; the supplied candidates establish both cleanup landings, but do not establish the disposition of the multixact patch in #5.