model-writtenrun 2430 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund reported that logging inside storage operations could process a barrier and free active file state through smgrreleaseall(), reproduced crashes with FDDEBUG, and proposed holding interrupts in smgr.c in #1.
- Thomas Munro proposed more selective interrupt handling in #2, but Andres explained the broader storage-manager safety constraints and identified unsafe initialization before smgr_open in #3; Thomas accepted the immediate approach while leaving interruptible network storage for future work in #4.
- Andres submitted both interrupt suppression and safer relation initialization in #5, noting that existing debug logging could trigger the original problem but questioning whether backpatching justified its risk.
- Andres corrected the initialization bug's affected release to PostgreSQL 17 in #6, then committed that component as ee578921b6 with unchanged code and a corrected backpatch policy.
- Noah Misch reviewed the remaining interrupt patch in #7, accepted keeping it out of stable branches, questioned holds around iteration, and requested moving holds past buffer operations; he also questioned the already-committed initialization fix.
- Andres defended protecting iteration and the interval between dropping buffers and unlinking files in #8, then demonstrated that unlink failures already force a panic rather than silently permit corruption in #9; Thomas related this to an existing implicit critical section in #10.
- Noah explained why buffer flushing should remain interruptible, reported successful check-world testing with an assertion about unlink callers, and accepted the initialization rationale in #11.
- Andres posted the remaining patch in #12, moving the hold after FlushRelationsAllBuffers(), documenting the other holds, removing the inadequate smgrtruncate() assertion, and broadening the explanation beyond debug logging while retaining the decision against backpatching.
- Noah approved the final patch in #13, and Andres committed it unchanged as fc51a60dd4 and confirmed the push in #14, leaving both submitted fixes landed and broader interruptibility and critical-section cleanup as future work.