model-writtenrun 7754 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Erik Rijkers reported that three-node cascading logical replication failed while two-node replication worked, then supplied a reproducer showing the second replica remained empty #1 #3.
- Amit Kapila traced the failure to an existing pgoutput bug exposed by tablesync workers using replication origins: an origin could disappear before decoding, leaving a prepare-write message without its expected payload; his patch guarded the message-boundary writes with a successful origin lookup and deferred broader origin-handling changes #4.
- Erik confirmed that the fix restored replication and requested a regression test; vignesh C reproduced the failure, verified the fix, and supplied a simplified three-node cascading test #5 #6.
- Amit combined the fix and test, clarified why subscription creation order matters, and proposed no backpatch because core code could not previously trigger the bug and no earlier complaints were known #7.
- Erik successfully reran his tests against the combined patch, while Vignesh explained how the new regression test reproduced the original scenario; Erik received Tested-by credit, and Vignesh was a co-author, so neither is added as a suggested reviewer #9 #10 f672df5fdd.
- The combined patch landed unchanged as f672df5fdd; Amit closed the thread by confirming the regression test failed without the fix and passed with it, leaving no submitted work outstanding #7 #11.