Re: BUG #16643: PG13 - Logical replication - initial startup never finishes and gets stuck in startup loop

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: henry.hinze@googlemail.com
Cc: pgsql-bugs@lists.postgresql.org
Date: 2020-09-29T20:09:20Z
Lists: pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> The following setup of logical replication for one table works nicely with
> PG 12.4. In PG 13.0 the initial startup never finishes. Instead it starts
> over and over again.

It kinda looks like something is timing out before it's managed to
catch up with the (rather large) initial state of table t.  What
non-default replication settings are you using?

			regards, tom lane



Commits

  1. Fix replication of in-progress transactions in tablesync worker.

  2. Review logical replication tablesync code

  3. Restore replication protocol's duplicate command tags