model-writtenrun 6839 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bertrand Drouvot reported that an offline checksum change could make a standby verify unchecksummed pages or silently undo its local setting, and proposed node-local state and a replay watermark in #1.
- Daniel Gustafsson argued that mismatched replication nodes should not become a supported configuration and preferred safe rejection plus clearer documentation, while Bertrand explained that preserving local offline changes was intended to retain existing behavior in #2 and #3.
- After work by Zsolt Parragi, Daniel, and Tomas Vondra, Daniel posted a substantially different four-part solution in #4: retain local state, warn about mismatches, reject interrupted offline operations, and protect pg_rewind and pg_combinebackup from unsafe combinations.
- The warning approach replaced attempted startup rejection because detecting a mismatch could occur only after the standby already needed rebuilding, and #4 also added extensive tests for previously uncovered replicated offline operations.
- Bertrand found repeated-transition replay, stale checkpoint state, rewind adoption, and state-round-trip problems in #5, then supplied a deterministic checkpoint-race reproduction in #7.
- Although Zsolt initially favored limiting complexity, the discussion in #8 and #9 led to #12, combining the warning design with Bertrand's watermark and local-state ideas and serializing transition publication against checkpoints.
- Bertrand showed that stopping every node still allowed unseen online transitions to override a later offline change and also found a pg_upgrade parser regression in #13; Daniel favored documenting the durability mismatch and considering future WAL logging for offline changes in #14.
- Zsolt documented the catch-up requirement and reorganized tests in #17, then fixed pg_upgrade's overly broad checksum-label matching in #19 after Bertrand confirmed that it remained broken.
- Bertrand's divergent-timeline reproduction in #20 prompted watermark clamping in #21, and his test fix-up in #22 was folded into #23 alongside comment corrections and consolidation of the documentation patch.
- Further review clarified how to verify standby catch-up, corrected watermark wording, and added complete metadata persistence and control-file locking across #25 and #26; Bertrand approved the resulting #28 in #29.
- Daniel took over the series in #30, gated expensive tests under PG_TEST_EXTRA, and opened the release-readiness discussion because the fix required substantial recovery changes and another control-file format change close to release.
- Heikki Linnakangas requested clearer documentation and a better state diagram in #31, then explored whether mismatches could be handled more simply; Daniel explained in #36 that the offline tool cannot inspect other nodes and retained warnings plus protective tool checks.
- Daniel implemented the documentation reorganization in #38, combined it with cleanup work from another discussion in #39, and corrected the accidentally attached version in #40.
- The replay-state fix landed from #40 as b52a1c2c8a with light naming, comment, formatting, and commit-message edits, while the pg_checksums component landed as 3e70c527cc with only editorial and whitespace-related differences.
- The pg_rewind and pg_combinebackup components of #40 landed unchanged as 227f8ea19a and 724477d67e, and the documentation component landed with wording corrections as 2bd7519a81.
- Daniel announced the master landing in #41 but deferred backpatching pending buildfarm exposure and another open issue; release concerns discussed here and in thread #253719 subsequently led to c05d5ce123, derived from the revert attachment #1152250 in thread #49904, which removed online checksum transitions on REL_19_STABLE while retaining selected independent improvements and leaving the master work in place.
- Alexander Lakhin traced a buildfarm failure to pg_waldump choosing a preallocated WAL segment in #42, and Nazir Bilal Yavuz reported successful repeated testing of a separately posted fix in #43; that fix landed from #1155979 in thread #253838 as a5447a2dea, selecting the WAL filename explicitly and checking command execution, with light regex and comment edits.
- At the thread's end, Raja Sai pranav proposed a hint and documentation correction in #44 because pg_combinebackup's refusal also covers online enabling and in-progress backups; this follow-up remains uncommitted in the supplied evidence, and whether safely complete online-enabled incremental backups could be accepted remains an observation outside its scope.