model-writtenrun 9470 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Geoghegan opened the thread in #1 after finding that VACUUM can finish interrupted internal-page splits despite the nbtree README saying otherwise, and separately questioned an internal-page half-dead check.
- Tom Lane supported leaving split completion unchanged because VACUUM already generates WAL that can consume disk space, but warned that old half-dead internal pages might justify retaining the check #2.
- Peter initially favored turning the check into a corruption error, then examined interrupted multilevel deletion and explained how cousin subtrees and atomic downlink removal preserve correctness, while remaining cautious about removing the check #3 #4.
- The split-completion issue was resolved by 35bc0ec7c8, which documented the exception without changing VACUUM behavior.
- Returning in May, Peter posted #5 to remove the redundant internal-page check and explain how the leaf-level check represents the adjacent subtree, replacing his earlier proposal to retain the check as an error.
- Heikki Linnakangas challenged whether corruption detection elsewhere justified removal #6, and Peter answered that VACUUM would still report the corrupt page #7; Tom subsequently questioned whether legacy half-dead pages could safely be discounted #9.
- Peter analyzed upgrades from PostgreSQL 9.3 in #10, then corrected his claim that the leaf-level check covered the old deletion scheme, accepting that VACUUM might instead produce a less friendly but valid corruption error #11; his final reply corrected the historical commit attribution #12.
- After the last message, 3f58cc6dd8 landed the code removal from #5 with revised comments, additional README explanation, and expanded legacy-upgrade reasoning, completing both changes discussed in the thread.