Re: pg_receivewal - couple of improvements - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: pg_receivewal - couple of improvements
Date
Msg-id 20220207064501.l3kehvk4sxych7ix@jrouhaud
Whole thread Raw
In response to Re: pg_receivewal - couple of improvements  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
Hi,

On Mon, Feb 07, 2022 at 12:03:03PM +0530, Bharath Rupireddy wrote:
> 
> What if someone doesn't use pg_receivewal as an archive location? The
> pg_receivewal can also be used for synchronous replication quorum
> right? In this situation, I don't mind if some of the WAL files are
> missing in pg_receivewal's target directory

Those two seem entirely incompatible, why would you have a synchronous
pg_receivewal that would ask for records removed by the primary, even if part
of synchronous quorum, apart from inadequate (and dangerous) configuration?

Also, in which scenario exactly would you be willing to pay a huge overhead to
make sure that all the WAL records are safely transferred to one or multiple
alternative location but at the same time don't mind if you're missing some WAL
segments?



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: pg_receivewal - couple of improvements
Next
From: Amit Kapila
Date:
Subject: Re: [BUG]Update Toast data failure in logical replication