model-writtenrun 6888 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Jul 2024 · 2 entries
- Daniel Gustafsson revived online checksum transitions in July 2024 with SQL controls, a launcher and per-database workers, and procsignal barriers; he deliberately omitted resumability, parallel workers, and optimizations to keep the initial feature manageable #1.
- Tomas Vondra supported the simpler design and requested progress reporting and a fast-checkpoint argument, while Bruce Momjian supported limiting restartability scope; Daniel implemented the operational controls in the next full submission #2 #3 #4.
Sep - Dec 2024 · 2 entries
- Michael Banck's naming review and Tomas's crash testing drove consistent progress-view naming, checkpoint-based control-file persistence, privilege corrections, and progress fixes, followed by test adaptations when checksums became enabled by default #5 #8 #10 #14.
- After further stress failures and a long gap, Tomas resumed the series in March 2025, synchronized the GUC with cached checksum state, restored launcher and worker progress rows, and repaired replication-slot, EXEC_BACKEND, and backend-type integration issues #17 #18 #20 #22 #23.
Mar - Apr 2025 · 3 entries
- Repeated standby replay exposed the danger of a control file containing checksum state newer than the recovery starting point, so Tomas moved current state into XLogCtl and retained checkpoint-consistent state in ControlFile #28 #32.
- Daniel and Tomas then corrected initialization and first-barrier races, including registering signal handling before reading local state, but standby checksum failures still appeared under stress; diagnostic-only changes were explicitly excluded from the intended commit #33 #38 #40 #41 #43.
- Alexander Korotkov questioned failure reporting and repeated database scans, Bernd Helmle rebased the series in July, and Daniel resumed it in August with injection-point testing, disabling checkpoints, and more precise wait events #44 #45 #47.
Jul - Dec 2025 · 4 entries
- Tomas demonstrated that concurrent workloads and independent restarts exposed failures missed by deterministic tests, leading to pgbench stress coverage, corrected offline-state validation, randomized delays, and server-log verification; his supplied test deltas were folded into the full patch #49 #50 #52 #53 #55 #58.
- Autumn testing uncovered checkpoint and standby-restartpoint problems, and Daniel consolidated barrier absorption while incorporating the test fixes; a later rebase and documentation pass added clearer progress descriptions and a state-transition diagram #62 #63 #73.
- Tomas showed that base backups could carry future checksum state in pg_control, while Andreas Karlsson questioned the complexity and others defended the feature's value; the PITR problem remained open through the documentation revisions #65 #66 #67 #70 #71 #72 #73.
- Andres Freund warned that synchronous restartpoint coordination could deadlock synchronous replication and proposed recording checksum state in checkpoint WAL; Daniel implemented that architectural change in February 2026 #74 #75.
Feb - Jul 2026 · 20 entries
- Tomas's deterministic recovery investigations led to dedicated PITR and FPI tests, restoration of end-state checkpoints, and consolidation of implementation code in datachecksum_state.c #77 #78 #82.
- Daniel split the independently useful checkpoint-WAL record structure into a preparatory patch and removed attempted visibility-map and free-space-map repairs because those defects were being handled separately #83.
- Tomas found WAL opcode exhaustion and progress issues, prompting a second XLOG resource manager, while Heikki Linnakangas supplied spelling fixes and detailed design review that led to clearer state names and single-list database processing with file_copy prohibited during enabling #84 #86 #87 #88 #90 #92.
- Heikki endorsed the independent WAL-record cleanup, which landed from the preparatory component last submitted in #97 as 097ab69d17; Daniel then resent only the remaining online-checksum feature #95 #98.
- Final review simplified the allowed-transition table, tightened launcher shutdown and locking, stabilized persisted enum values, and reduced expensive test workloads before Daniel announced the main feature's landing #100 #101 #103 #104 #106 #107.
- Immediate buildfarm failures exposed tests that observed the terminal checksum state before the launcher had exited, producing the unattached fix 0036232ba8, announced in #108.
- Daniel generalized launcher-exit waiting and converted fault injection to the injection_points extension in #110; Andres reported additional CI failures, and 07009121c2 landed that work with further timing, shutdown-order, and logging corrections #111 #113.
- Alexander Lakhin also reported reproducible checksum failures under sqlsmith, which Daniel associated with the separately tracked visibility-map problem rather than treating that investigation as another attached online-checksum fix #114 #115.
- Satyanarayana Narlapuram supplied a guard against invoking checksum transitions on a standby, and Daniel combined it with fixes emerging from extensive testing by Tomas on both fast machines and a Raspberry Pi #116 #117 #118.
- Ayush Tiwari's deterministic duplicate-launcher reproducer exposed cleanup by a process that did not own the launcher role, while Satyanarayana requested an end-of-recovery control-file update; the final series deferred exit-handler registration and incorporated that update, then passed Ayush's focused retesting #119 #120 #121 #122 #123.
- The standby guard from #122 landed unchanged as b120358c61, and its test-stabilization component landed unchanged as a0d8f4c1ae, covering expensive-test selection, PITR shutdown, logging, and standby behavior.
- The same final series supplied the launcher-exit correction 8fb8ded889 and checkpoint-state correction 25b922ec58, including cleanup ownership, removal of stale online-checkpoint transitions, barrier ordering, and protected initialization #122.
- The comment cleanup, partially dropped database detection, and restored GUC show hook from #122 landed as 381d19da15, 1df361e3d8, and 75152c5dc5, respectively.
- The concurrent-request component of #122 landed as bf25e5571b with additional shared-memory locking and access-strategy replacement moved outside the exclusive lock, exceeding the editorial-only characterization in the commit announcement #124.
- Satyanarayana next reported unnecessary WAL for unlogged relations and ineffective checksum-worker throttling; Daniel combined those fixes with a correction to multiline matching in checksum-failure tests #125 #128 #129.
- Meanwhile, Tomas expanded the uncommitted experimental tests into a suite with extensive injection points and controlled checkpoint/crash interleavings, explicitly excluding it from PostgreSQL 19 while documenting surprising recovered-state outcomes and doubts about DELAY_CHKPT_START #127.
- Ayush demonstrated that unlogged init forks must still be WAL-logged for promotion, and Satyanarayana revised the fix and removed its amcheck dependency; the final attachment landed with comment reflow as 2018bd6167 #131 #133 #135 #136 #137.
- The unchanged throttling and multiline-regex components of #129 landed separately as 9a39056c41 and 486b9a9b9e after review and testing by Ayush and Satyanarayana #130 #131.
- Tomas's experimental extra LWLock suppressed the surprising checkpoint interleavings but was not proposed for commitment; he also found that promotion changed checksum state without notifying existing sessions and supplied comment and PID-type cleanups #139.
- Daniel's three-patch response #140 landed as the promotion fix 5fee7cab1b, comment cleanup cd857dec0e, and PID-type fix 0ca1b30105, with only a spelling correction in the promotion test; Tomas approved the fixes and urged resolving the remaining checkpoint protocol questions before release #141 #142.
Aug - Sep 2026 · 6 entries
- In August, Alexander found failures with debug_parallel_query=regress; Tomas traced them to worker exhaustion and tested higher worker limits, while Michael Paquier suggested disabling forced parallelism in these tests, an approach Daniel favored #146 #147 #148 #150 #151.
- Daniel prepared a near-total revert after broader concern about the feature's readiness, initially arguing for removal from PostgreSQL 19 while retaining master for continued repair and preserving independently useful changes #152.
- Alexander then reproduced another injection-test race, Daniel proposed an inline wait for disabling to finish, and Alexander verified both failure cases disappeared; that one-line fix landed as 135b867a53 #153 #154 #155 #157.
- At the thread's last message, Daniel promised to push the timing fix to master and PostgreSQL 19, while the attached revert remained a proposal and the checkpoint synchronization questions had no final resolution recorded here #158 #152 #142.
- The supplied later commit c05d5ce123 establishes that the revert from #152 ultimately landed with light integration edits because of concern about further post-release bugs, retaining the offline initial-state fix and relocated test, richer verification logging, revised checksum documentation, and the state enum.
- The current assessments in thread #253388 and thread #253719 confirm that those discussions contributed to the release decision while the committed revert implementation came from this thread's attachment #152.