model-writtenrun 8492 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao proposed disabling the startup progress timeout before standby WAL replay because earlier startup operations could re-enable it, causing unnecessary periodic wakeups; he initially considered this a master-only cleanup and included documentation changes #1.
- Kyotaro Horiguchi suggested consolidating timeout cancellation at the existing replay-phase standby check, but Fujii explained that recovery can enter standby mode after replay begins and that cancellation before the first WAL read also avoids wakeups while waiting for WAL #2 #3.
- Bharath Rupireddy suggested exploring less frequent standby progress logging using the existing configuration parameter, explicitly leaving that broader feature for separate discussion #4.
- Kyotaro accepted the small fix despite reservations about phase boundaries, while Fujii favored keeping progress measurement beside the redo-start log message and canceling the standby timer before potentially waiting for the first record #5 #6.
- After several months, Nitin Jadhav confirmed that both cancellation sites cover necessary recovery transitions, endorsed the placement before the first WAL read, and requested documentation distinguishing active standby mode from initial crash recovery #7.
- Aidar Imamov reported instrumented tests confirming the original fix and both recovery paths, suggested comment and documentation refinements, and supplied an independent patch preventing recovery-conflict cleanup from canceling the startup progress timer #8.
- Aidar combined the original standby cleanup and his recovery-conflict fix into one patch for commitfest bot visibility, while acknowledging that the independent fix might warrant separate review and backpatching #9.
- Nitin recommended separating the fixes because their review and backpatching needs differed; Aidar then moved the recovery-conflict work to a separate thread and commitfest entry and resent Fujii’s original patch unchanged #10 #11.
- Fujii returned with a two-patch series that incorporated comment and documentation feedback while retaining the original standby cancellation code, and added a fix ensuring that changing log_startup_progress_interval to zero does not prevent cancellation of an already-active timer #12.
- The thread ends with the updated series proposed and no linked commit; Fujii leaned toward backpatching the newly discovered configuration-reload fix through PostgreSQL 15, but that decision remained open #12.