Re: Frosen logical replication

From: Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Frosen logical replication
Date: 2025-12-05 16:47:58
Message-ID: CAB-JLwZJP2c0StczoH7hJuHk3Kwkdf1RVUCdEuHQNt5sQhHuUA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Em sex., 5 de dez. de 2025 às 09:03, Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>
escreveu:

> I have a logical replication where I want to replicate only one schema.
> All worked fine, it copied all tables to subscriber, except one. That
> table has 8GB and it copied 5GB. That copy has been frozen since yesterday,
> as you can see.
>

I tried these steps.
- Tried to restart subscriber, didn't solve and file didn't change its size
on subscriber.
Subscriber did not try to restart copying from scratch, just did nothing.
DIDN'T SOLVE

- Tried to restart publisher 2 or 3 times, didn't solve the problem but
file changed
some MBs but was copying from what starting point if server was restarted
and
file was partially transfered ? I don't know. Then on subscriber side I got
some messages like
"could not receive data from WAL stream: SSL error: unexpected eof while
reading"
DIDN'T SOLVE

- Restarted publisher and while restarting I truncated that table on
subscriber.
How srsubstate was "d" but srsublsn was NULL It had to copy that file
entirely, and it did.
Then that file was completely copied from publisher and until now
everything seems fine.
SOLVED, APPARENTLY

regards
Marcos

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sivaprasad 2025-12-05 17:24:06 [ANNOUNCE] BISCUIT 2.0 - Now a full Index Access Method with multi-column indexing
Previous Message Rich Shepard 2025-12-05 16:04:40 Re: Extract only maximum date from column [RESOLVED]