model-writtenrun 2871 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada reported an assertion failure when autovacuum removed an orphan temporary index after an immediate shutdown, providing reproduction steps and a stack trace showing index_drop() lacked a snapshot #1.
- Nathan Bossart proposed making index_drop() push a snapshot unconditionally around pg_index access, avoiding assumptions about its callers, and attached the sole patchset #2.
- Stepan Neretin endorsed the solution but struggled to trigger autovacuum in a TAP test; Masahiko endorsed the fix, explained the missing database statistics and crash-detection issues, and supplied a test script after Stepan's revised attempt still stalled #3 #4 #5 #6.
- Michael Paquier suggested using the autovacuum-worker-start injection point to avoid hardcoded waits in an integrated test, but Stepan's attempt remained unsuccessful #7 #8.
- Masahiko questioned the need for a regression test for this recent oversight and clarified that his script was intended to help reproduce the failure; Stepan confirmed manual reproduction, and Nathan agreed that existing cfbot runs already exposed the problem #9 #10 #11.
- Nathan committed the patchset unchanged as 70b9adb98e and announced completion, leaving the fix landed without an added regression test #2 #12.