Re: Tablesync early exit

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Tablesync early exit
Дата
Msg-id CAA4eK1JkSGiTwNgfu1vm2PZyOUQ+DEkHQ3Cmrcv=m=Ww=ovcdQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Tablesync early exit  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Tablesync early exit  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-hackers
On Mon, Aug 30, 2021 at 8:50 AM Peter Smith <smithpb2250@gmail.com> wrote:
>
> Patch v2 is the same; it only needed re-basing to the latest HEAD.
>

Why do you think it is correct to exit before trying to receive any
message? How will we ensure whether the apply worker has processed any
message? At the beginning of function LogicalRepApplyLoop(),
last_received is the LSN where the copy has finished in the case of
tablesync worker. I think we need to receive the message before trying
to ensure whether we have synced with the apply worker or not.

-- 
With Regards,
Amit Kapila.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Tablesync early exit