From: hubert depesz lubaczewski <depesz@depesz.com>
To: pgsql-general mailing list <pgsql-general@postgresql.org>
Subject: pglogical replication dies
Date: Fri, 9 Aug 2019 13:49:45 +0200
Message-ID: <20190809114945.GA20969@depesz.com> (raw)
Hi,
I tried to setup upgrade using pglogical - from 9.5 to 11.
I did set it up, and after subscription, initial data sync seems to work
fine, but then replication dies.
In logs on subscriber, every 3 minutes I see:
db=,user= LOG: background worker "pglogical apply 114610049:2875150205" (PID 28020) exited with exit code 1
On provider there are more messages. Every 3 minutes I get:
LOG: replication connection authorized: user=some_user SSL enabled (protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, compression=off)
LOG: starting logical decoding for slot "pgl_somedb_provider_subscription"
DETAIL: streaming transactions committing after 4AA0/5B43630, reading WAL from 4AA0/55743C0
LOG: logical decoding found consistent point at 4AA0/55743C0
DETAIL: There are no running transactions.
LOG: could not receive data from client: Connection reset by peer
LOG: unexpected EOF on standby connection
And that's all.
If it matters there are ~ 3000 tables in the replication set, and we
don't replicate sequences (figured it will be simpler to just sync them
once on switch to new server).
How to debug/diagnose the problem?
Best regards,
depesz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: depesz@depesz.com
Subject: Re: pglogical replication dies
In-Reply-To: <20190809114945.GA20969@depesz.com>
References: <20190809114945.GA20969@depesz.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox