model-writtenrun 1942 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zane Duffield reported periodic replication lag and a roughly 30 GB stall with parallel streaming on PostgreSQL 17.4, despite identical publisher and subscriber schemas and no reproducer #1.
- Amit Kapila found no demonstrated deadlock and requested more worker diagnostics #2; Zhijie Hou investigated wait events and later suspected timeout-triggered worker restarts because shutdowns appeared without corresponding timeout errors #3 #4.
- Zane confirmed that disabling a 30-second lock_timeout eliminated periodic lag spikes and worker restarts, although the complete replication stall remained unexplained and unreproduced #6.
- Hayato Kuroda identified that parallel apply workers replaced SIGINT's query-cancel handler with a graceful-shutdown handler and submitted branch-specific patches using SIGUSR2 for shutdown; he explicitly cautioned that restoring proper timeout errors would not itself eliminate replication lag #7.
- Amit recommended disabling or substantially increasing lock_timeout and requested testing of Hayato's patch #8; Zane subsequently chose parallel streaming with the default lock_timeout but could not test a patched build #9.
- After waiting for the PostgreSQL 18 release freeze to end #10, Amit committed the SIGUSR2 shutdown fix with backpatches through PostgreSQL 16 and announced completion a54c7a1133 #11; the missing attachment contents prevent verification of any edits between submission and commit, and the thread provides no separate resolution of the original complete stall.