model-writtenrun 4328 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Geoghegan proposed logging right-sibling corruption and abandoning that page deletion while allowing VACUUM to continue, reducing the risk of transaction-ID wraparound, and included a separate amcheck fix for false positives after interrupted leftmost-page deletion in #1.
- Heikki Linnakangas supported consistent corruption handling, requested clearer explanations near the left-sibling checks, and suggested checking the amcheck sibling's half-dead state and removing ERRCODE_NO_DATA in #2.
- Peter accepted the comment and error-code feedback but explained that validating the amcheck case across different lock modes was complicated and remained undecided in #3.
- Peter posted the revised VACUUM patch in #4, simplifying equivalent lock-and-pin cleanup and improving diagnostics and comments, while withholding the amcheck revision pending resolution of Heikki's feedback.
- The revised VACUUM patch landed unchanged on the development branch as 5abff197cc; the separately listed candidate a72b503ca8 is its PostgreSQL 11 backport, which omits ancillary cleanup and adds an interrupt check.
- Peter confirmed backpatching to all supported versions and advocated a minimal amcheck fix without exhaustive half-dead-page validation in #5, leaving that part unresolved.
- Greg Stark asked which error identified the problem in #6, and Peter identified the right-sibling left-link mismatch in #7; the thread ends with the VACUUM fix landed and no revised or committed amcheck fix shown.