Re: Allow async standbys wait for sync replication - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Allow async standbys wait for sync replication
Date
Msg-id 20220314170023.dg4ubntz4s6hzhxg@alap3.anarazel.de
Whole thread Raw
In response to Re: Allow async standbys wait for sync replication  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
Hi,

On 2022-03-14 11:30:02 +0900, Kyotaro Horiguchi wrote:
> That is, (as my understanding) async standbys are required to allow
> overwriting existing unreplayed records after reconnection.  But,
> putting aside how to remember that LSN, if that happens at a segment
> boundary, the async replica may run into the similar situation with
> the missing-contrecord case.  But standby cannot insert any original
> record to get out from that situation.

I do not see how that problem arrises on standbys when they aren't allowed to
read those records. It'll just wait for more data to arrive.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: Non-replayable WAL records through overflows and >MaxAllocSize lengths
Next
From: Robert Haas
Date:
Subject: Re: refactoring basebackup.c (zstd workers)