model-writtenrun 3088 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro reported intermittent streaming-regression catchup timeouts on several buildfarm animals and investigated whether a recent development-branch change had triggered them #1 #2.
- Michael Paquier suggested investigating bulk-loading WAL changes, while Thomas proposed making catchup polling report replication progress because the existing logs offered little diagnostic information #3 #4.
- Alexander Lakhin reproduced similar failures under slow, concurrent workloads and found substantial unreplayed WAL at timeout; Tom Lane suggested disabling fsync and increasing the timeout to test the load hypothesis #5 #7 #8.
- Andres Freund initially questioned the load explanation and requested timeout diagnostics, then reproduced substantial replay lag associated with synchronous file removal, control-file updates, and frequent WAL flushes; he also identified inaccurate elapsed-time accounting in poll_query_until #9 #10 #11.
- Andres continued investigating the much higher failure rate on the development branch, while Tom suggested growing test workloads; measurements subsequently showed increasing successful-run durations on some animals without establishing a single culprit #12 #13 #14 #16.
- After Alexander observed an apparent respite, Andres explained that he had reduced test concurrency, although excessive replay fsync activity remained unexplained; they also discussed expensive JIT execution as a possible cause of separate isolation-test timeouts #17 #18.
- Alexander reported further slow-run and streaming-regression failures in June, then highlighted July failures on crake that raised questions about WAL consistency checking and an operating-system upgrade #19 #20.
- Andrew Dunstan considered the operating-system upgrade unlikely and noted the timing of expanded test coverage, while Tom compared successful and failing runs and argued that intermittent load remained plausible #21 #23.
- Thomas suggested timing out only when replication stopped making progress, while Andrew first throttled concurrent branch builds and later serialized them; no progress-sensitive timeout implementation was submitted in this thread #24 #25 #28.
- With crake still failing after serialization, Tom submitted a patch to log the replication connection's application name, LSN, and state on timeout, and proposed equivalent instrumentation for slot catchup and subscription synchronization #29.
- Andrew endorsed the proposal, and Tom committed an expanded version as e57296ed48, adding diagnostics to all three helpers and dumping complete system-view contents rather than selected rows and columns #30 #31.
- The thread ended with diagnostic instrumentation committed for development and PostgreSQL 17, while the underlying intermittent timeout cause remained unresolved e57296ed48 #31.