model-writtenrun 6164 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yugo Nagata reported that recovery silently discarded WAL page-header errors and proposed logging them before standby retries while preserving errors for the caller outside standby mode in #1.
- Ranier Vilela proposed always clearing the error buffer in #2, but Yugo explained in #3 and #10 that this would suppress diagnostics during non-standby recovery.
- Kyotaro Horiguchi proposed restricting immediate page-header validation to standby mode in #4; Yugo pointed out in #5 that this still left standbys silently retrying corrupted pages.
- Kyotaro combined standby-only validation with immediate error reporting in #6, and Yugo endorsed the approach in #8; Ranier revisited its error-reset behavior in #9.
- Fujii Masao reopened the design discussion in #11, preferring validation in both modes and centralized reporting at the retry label, but Kyotaro argued in #16 that non-standby validation and error-buffer handling belonged to xlogreader; Fujii accepted the existing combined patch in #17.
- Kyotaro added explanatory comments in #19; Alvaro Herrera questioned their apparent contradiction in #20, and Fujii supplied #22 with clearer retry reasoning and the correct ReadPageInternal() reference.
- Kyotaro and Fujii debated wording about page versus record retries in #23, #24, and #25; Fujii's final explanation in #27 stated that invalid headers end non-standby recovery, and Kyotaro approved it in #28.
- Fujii committed 68601985e6 from #22 with only that final comment clarification, crediting Yugo and Kyotaro as authors; the thread ended with his confirmation in #29, with no outstanding patch work.