Re: Allow async standbys wait for sync replication

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Allow async standbys wait for sync replication
Дата
Msg-id 20220314170023.dg4ubntz4s6hzhxg@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Allow async standbys wait for sync replication  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Matthias van de Meent
Дата:
Сообщение: Re: Non-replayable WAL records through overflows and >MaxAllocSize lengths
Следующее
От: Robert Haas
Дата:
Сообщение: Re: refactoring basebackup.c (zstd workers)