model-writtenrun 7918 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ian Lawrence Barwick reported a three-node failover scenario where pg_rewind incorrectly declared that no rewind was needed, and supplied a minRecoveryPoint check plus a regression test in #1.
- Heikki Linnakangas identified a second consequence in #2: extractPageMap() must scan through minRecoveryPoint, because stopping at the last checkpoint misses changes made while the target was a standby.
- Pavel Borisov tested the original patch and suggested clearer comments in #3; Ian explained in #4 that the verbose failure output came from the test framework, deferred broader comment cleanup, and said he had not reproduced Heikki's additional concern.
- After the patch remained waiting on its author, Heikki supplied a two-patch series in #8, preserving Ian's fix and adding the WAL-scanning correction with a stronger test that exposed changes otherwise masked by full-page writes or transaction visibility.
- Heikki combined both patches from #8 into 2b4f313038, with light comment and test adjustments, and announced the commit and backpatches in #10.
- Heikki acknowledged in #12 that Pavel's review credit had accidentally been omitted from the committed message.
- Buildfarm failures prompted Heikki's timing-race report in #14; 36a4ac20fc added replication catch-up waits before promotions and clarified the test setup.
- At the thread's last message, #15, Heikki reported the race fix backpatched but left an unexplained older-version clean-switchover failure unresolved, using backup reinitialization in the affected tests and declining further investigation.
- A subsequent buildfarm failure led to 6ba581cf11, which forced checkpoints after promotion and tidied the test; its commit message left improving pg_rewind's timeline detection before that checkpoint as future work.