From: Fontana Daniel \(Desartec S.R.L.\) <desartecsrl@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Corrupt WAL in replication slot
Date: Wed, 4 Jan 2023 18:24:57 -0300
Message-ID: <004b01d92083$0048b5b0$00da2110$@gmail.com> (raw)
In a replication scheme, one of the satellite databases that replicates
against a consolidated database has one of the WAL files corrupted, more
precisely the 000000010000000000000000009 file.
I try the pg_replication_slot_advance() function to move pg_lsn to skip the
error, but it tells me there is a data inconsistency. You must control the
data consistency even though I want to skip them.
As an observation, the base checkpoint is much further ahead.
Is it possible to regain control of the replication slot?
--
Este correo electrónico ha sido analizado en busca de virus por el software antivirus de Avast.
www.avast.com
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: desartecsrl@gmail.com
Subject: Re: Corrupt WAL in replication slot
In-Reply-To: <004b01d92083$0048b5b0$00da2110$@gmail.com>
References: <004b01d92083$0048b5b0$00da2110$@gmail.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