model-writtenrun 4280 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Geoghegan proposed allowing nbtree VACUUM to continue after detecting a corrupt parent/child relationship, logging the problem and abandoning the affected page deletion to reduce the risk of eventual transaction-ID exhaustion, with backpatching to all supported versions #1.
- Peter announced that he intended to commit the patch within days and backpatch it throughout the supported branches #2.
- Andres Freund expressed no objection while disclaiming careful review, but argued that ignored errors should become visible through statistics because scanning logs is impractical at scale #3.
- Peter supported better monitoring, pointed out that these log messages already use ERRCODE_INDEX_CORRUPTED, and expected few further nbtree VACUUM errors to need similar treatment; no monitoring implementation was submitted #4.
- Peter reported completion and backpatching in #5: the development-branch commit 5f0762f147 derives from #1 with two added assertions and editorial changes, while 7ddba19eb7 adapts the same hardening to PostgreSQL 11 without those assertions; the proposed hardening was fully landed, leaving monitoring as a future concern.