From: Lou Tseng <ltseng@advancedpricing.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Logical replication failed recovery
Date: Sun, 7 Apr 2019 13:22:50 +0000
Message-ID: <DM6PR11MB2939FF65103200D9F8BA88BCC4530@DM6PR11MB2939.namprd11.prod.outlook.com> (raw)
Hi folks,
Is there a good tutorial to recover from logical replication out of sync? We ran into this error stating WAL has been removed and now replica is out of sync. Also, is there a way to increase the number of WAL kept on the master?
Thanks!
2019-04-07 12:28:37.180 UTC [22292] ERROR: could not receive data from WAL stream: ERROR: requested WAL segment 0000000100005208000000EB has already been removed
2019-04-07 12:28:37.182 UTC [114186] LOG: worker process: logical replication worker for subscription 8907992 (PID 22292) exited with exit code 1
Lou Tseng
ltseng@advancedpricing.com<mailto:ltseng@advancedpricing.com>
[http://advancedpricing.com/wp-content/uploads/logo_AMPS_email.png]<http://www.advancedpricing.com/;
Advanced Medical Pricing Solutions<http://advancedpricing.com/;
35 Technology Parkway South, Suite. 100
Peachtree Corners, GA 30092
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: ltseng@advancedpricing.com
Subject: Re: Logical replication failed recovery
In-Reply-To: <DM6PR11MB2939FF65103200D9F8BA88BCC4530@DM6PR11MB2939.namprd11.prod.outlook.com>
References: <DM6PR11MB2939FF65103200D9F8BA88BCC4530@DM6PR11MB2939.namprd11.prod.outlook.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