model-writtenrun 1532 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nitin Jadhav opened the thread with #1, addressing a missing-redo-WAL bug previously reported by Andres Freund by checking the redo record before replay and adding a checkpoint-timing-based TAP test; broader recovery cleanup was explicitly outside scope.
- After a long gap, Nitin rebased the patch for current master and resubmitted it in #3, as announced in #2.
- Kirill Reshke suggested injection-point waits in #4, and Michael Paquier explained in #5 that the test was slow and could finish its checkpoint before switching WAL, recommending a background checkpoint, deterministic synchronization, meson registration, and FATAL instead of PANIC.
- Nitin and Michael discussed the historical PANIC behavior in #7 and #8, with Michael distinguishing future usability improvements from backpatchable fixes; Nitin then incorporated the test changes and both severity reductions in #10.
- Michael's review in #11 found that the patch used the wrong redo LSN and that its injection point allocated memory inside a critical section, so he supplied a revision using checkpoint-record fields and two injection points that initialize memory outside the critical section.
- Testing described in #11 showed that older branches could silently skip recovery when the redo record was missing, strengthening the case for backpatching; Michael proposed a minimal PANIC fix for supported branches and a separate HEAD-only FATAL change with the test.
- Michael committed the recovery-check portion of #11 as dc7c77f825, using PANIC for consistency with existing checkpoint failures and backpatching through PostgreSQL 14.
- Michael then committed the remaining test infrastructure and FATAL behavior from #11 as 15f68cebdc, with minor comment and log-matching changes, and confirmed both landings in #12.
- The separate proposal to lower the existing missing-checkpoint-record PANIC to FATAL was left out: Nitin agreed to pursue another thread in #13, Michael outlined its testing benefits in #14, and they agreed to separate discussion in #15 and #16.
- The requested recovery fix and test were fully landed by the end of the thread, with Kirill marking the CommitFest entry committed in #17.