model-writtenrun 3902 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed requiring recovery.signal or standby.signal whenever backup_label is present, because the existing combination of recovery flags could skip standby and latch initialization; his initial patch also moved startup logging and adjusted tests #1.
- David Zhang questioned the effect on independent servers restored from pg_basebackup and reported that adding recovery.signal then required restore_command; Michael explained why deleting backup_label risks corruption, acknowledged the standalone-backup problem, and rebased the patch after several quiet months #3 #4 #5 #6.
- Bowen Shi tested the patch and suggested making existing recovery hints consistent; Michael added standby.signal to two hints and removed a redundant latch condition in the next revision #7 #8.
- Kyotaro Horiguchi opposed breaking standalone restores and supplied a mock-up separating backup_label handling from archive recovery, while Michael objected to adding another recovery-state boolean #9 #11.
- David Steele initially supported the requirement while asking whether recovery.signal could be implied; Michael preferred explicit signal files and suggested treating automatic signal-file creation and relaxed restore_command requirements as separate work #12 #13.
- David Steele subsequently reviewed and tested the patch successfully, and Bowen Shi reported successful check-world and pgbench testing and marked it ready for a committer; David reaffirmed his support before the split #14 #16 #20.
- Michael extracted the two standby.signal hint additions from #8 unchanged into 1ffdc03c21, crediting Bowen's suggestion.
- Michael separately committed the recovery-mode LOG relocation and supporting comments from #8, with light comment edits and without moving latch ownership, as dc5bd38894, then posted the remaining behavioral change #21.
- Robert Haas warned that new startup failures could encourage users to delete backup_label, and Andres Freund described legitimate standalone-cluster workflows that the requirement would complicate with restore_command settings and unwanted timeline changes #23 #24.
- Michael responded with a replacement patch that allowed backup_label without signal files, replayed local WAL without entering archive recovery, retained end-of-backup checks, and documented standalone restores #27.
- Robert questioned why backup_label alone should not imply full archive recovery and insisted that backup endpoints remain enforced; Michael explained the restart and timeline implications and confirmed that the proposed local-WAL path still detected incomplete backups #28 #29.
- Kyotaro identified that crash recovery did not reset backupStartPoint upon reaching the backup endpoint, and Michael acknowledged the missing ReachedEndOfBackup handling as another inconsistency #30 #31.
- Robert argued that supported recovery scenarios and their user-visible behavior needed clearer documentation before changing the state machinery; Michael concluded there was no consensus and marked the proposal rejected, leaving only the two extracted cleanups committed #32 #33.
- The final exchange clarified that the alternative would start from the label's LSN, replay local WAL, and fail if the backup endpoint was not reached, but Andres maintained that these differences made calling it crash recovery misleading; no further patch or agreement followed #35 #36 #37.