model-writtenrun 8146 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amit Kapila reported inconsistent statistics-file corruption handling and posted a patch written by Masahiko Sawada that extended fallback to the global timestamp when archiver or SLRU data could not be read #1.
- Magnus Hagander questioned that fallback, and Fujii Masao explained the file layout and proposed returning false for corruption while retaining the global timestamp fallback for an absent database entry #2 #3.
- Discussion of the caller's retry and refresh behavior led to agreement that the database-entry corruption path should return false; Amit then replaced the original approach with his own patch and clarified the timestamp contract #6 #8 #11 #12 #13 #16.
- Sawada found that the default switch case still treated corruption as success, and Amit incorporated that additional failure path into the final patch #17 #18.
- Magnus and Alvaro questioned the comment's use of 'must'; Amit defended the wording and proposed a development-branch-only fix because no user issue or application impact had been established #19 #20 #21 #22.
- Amit committed #18 unchanged as 03c7f1f37a and announced the push; Magnus accepted the remaining wording nit and endorsed the decision not to backpatch, closing the thread with the fix landed #23 #24.