model-writtenrun 8371 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao reported an assertion failure after lowering logical_decoding_work_mem during logical replication and proposed repeatedly evicting transactions until memory usage fell below the new limit #1.
- Amit Kapila agreed that lowering the limit invalidated the existing assumption and endorsed repeated eviction as the fix #2.
- Amit Kapila posted a patch wrapping largest-transaction eviction in a loop, retaining the per-transaction assertions and explaining why one eviction could be insufficient #3.
- Fujii Masao approved the patch before it was committed #4.
- Amit Kapila committed the patch with an additional eviction-strategy comment correction as c5c000b103, with a backport to PostgreSQL 13, and closed the thread by confirming it was pushed #5.