model-writtenrun 2455 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported incorrect redo-LSN warnings and corrupted-statistics-file messages after pg_upgrade, including on a successful buildfarm run, and asked whether the old statistics file was being copied into the new cluster #1.
- Nathan Bossart explained that pg_upgrade does not appear to copy that file, connected both log messages to the statistics-file validation path, and identified the recently added redo-LSN check as suspect #2.
- Michael Paquier traced the mismatch to pg_upgrade manipulating the new cluster's control file through pg_resetwal and submitted a revert with a statistics-file format bump, deferring further crash-durability work #3.
- Michael Paquier committed the attached revert unchanged as 5721e5453e, removing the stored redo LSN and its validation while retaining the existing shutdown-only statistics persistence.
- Michael Paquier confirmed the revert had landed and identified frontend-accessible routines for reading and writing statistics files as a possible future refactoring; no replacement patch remained under review in this thread #7.