Re: Requested WAL segment xxx has already been removed - Mailing list pgsql-hackers

From Alexander Kukushkin
Subject Re: Requested WAL segment xxx has already been removed
Date
Msg-id CAFh8B=nV2w1othGwiN4O5_n1chjouP_He_esw=GUbr02_6TMrg@mail.gmail.com
Whole thread Raw
In response to Re: Requested WAL segment xxx has already been removed  (Japin Li <japinli@hotmail.com>)
List pgsql-hackers


On Tue, 15 Jul 2025 at 12:08, Japin Li <japinli@hotmail.com> wrote:

IIRC, the standby will indefinitely attempt to connect for replication, even
without restore_command configured.

That's correct. However right now it just results in an attempt to open the WAL segment in pg_wal and failing, what is cheap.
Calling restore_command is more expensive and therefore the impact on resource usage will be bigger.

Regards,
--
Alexander Kukushkin

pgsql-hackers by date:

Previous
From: Japin Li
Date:
Subject: Re: Requested WAL segment xxx has already been removed
Next
From: Bertrand Drouvot
Date:
Subject: Re: Improve LWLock tranche name visibility across backends