model-writtenrun 9075 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Julien Rouhaud relayed Jehan-Guillaume de Rorthais’s report that a network problem left the logical replication worker waiting indefinitely even after the walsender timed out #1.
- Julien identified unconditional resetting of the last-received timestamp on every processing-loop iteration as the cause of ineffective timeout detection #1.
- Julien attached a fix that initializes the timestamp once at the beginning of LogicalRepApplyLoop(), outside its processing loop #1.
- Michael Paquier explained that the same bug also prevented the ping at half of wal_receiver_timeout, and announced that he had committed the patch unchanged as 3f60f690fa and backpatched through PostgreSQL 10 #2.
- Julien and Jehan-Guillaume closed the thread with thanks, leaving the fix committed and no outstanding work raised #3 #4.