model-writtenrun 498 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nikhil Sontakke reports Eric Ridge's discovery that a standby can return incorrect results after a backend crash because the replacement startup process inherits reachedConsistency as true, and submits a reproducing TAP test plus a fix in #1.
- Nikhil chooses to clear reachedConsistency inside InitWalRecovery(), leaving the postmaster's state intact and deferring separate state variables as too invasive for a backpatchable fix in #1.
- Fujii Masao agrees with the minimal approach and lands only the production fix as b597835022, shortening its source comment; in #2, he explains that the standalone test remains uncommitted because its repeated updates seem expensive.
- Nikhil accepts the shorter comment and agrees to simplify the test in #3, then submits a replacement extending the existing 016_min_consistency.pl setup in #4, reporting ten successful runs with the fix, ten failures without it, and two to three seconds of added runtime.
- At the end of #4, the production fix has landed, while the revised regression test awaits review and has no demonstrated landing in the supplied material.