model-writtenrun 519 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hayato Kuroda reported that fairywren's reconnection test timed out after the operating system reused the terminated walsender's PID, and proposed checking server logs instead of requiring a different PID #1.
- Alexander Lakhin recalled earlier Windows PID-reuse problems and suggested that forcing frequent reuse might expose similar bugs #2; Kuroda noted the difficulty of doing so reliably and submitted a patch waiting for START_REPLICATION in the log #3.
- Fujii Masao warned that the START_REPLICATION pattern could match the old walsender's termination-related STATEMENT entry and proposed waiting for logical-slot acquisition instead #4.
- Kuroda accepted that concern and submitted the revised acquisition-log pattern, preferring it over checking whether the START_REPLICATION position advanced #5.
- Fujii Masao landed the revised patch as 44056f6493, retaining the original PID lookup and termination calls and adjusting formatting, with a backpatch to PostgreSQL 19; he announced the push in #6.
- The thread ended with Kuroda reporting that buildfarm animals were passing so far and suggesting continued monitoring, with the fix committed and no further patch pending #7.