Re: Improving the latch handling between logical replication launcher and worker processes.

Поиск
Список
Период
Сортировка
От vignesh C
Тема Re: Improving the latch handling between logical replication launcher and worker processes.
Дата
Msg-id CALDaNm1d3sJ_9AiZj0KAJE0dQP9NUBtK5hYrSut+fj-b9WpydQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improving the latch handling between logical replication launcher and worker processes.  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Improving the latch handling between logical replication launcher and worker processes.
Список pgsql-hackers
On Wed, 29 May 2024 at 10:41, Peter Smith <smithpb2250@gmail.com> wrote:
>
> On Thu, Apr 25, 2024 at 6:59 PM vignesh C <vignesh21@gmail.com> wrote:
> >
>
> > c) Don't reset the latch at worker attach and allow launcher main to
> > identify and handle it. For this there is a patch v6-0002 available at
> > [2].
>
> This option c seems the easiest. Can you explain what are the
> drawbacks of using this approach?

This solution will resolve the issue. However, one drawback to
consider is that because we're not resetting the latch, in this
scenario, the launcher process will need to perform an additional
round of acquiring subscription details and determining whether the
worker should start, regardless of any changes in subscriptions.

Regards,
Vignesh



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

Предыдущее
От: vignesh C
Дата:
Сообщение: Re: Improving the latch handling between logical replication launcher and worker processes.
Следующее
От: "ISHAN CHHANGANI ."
Дата:
Сообщение: Timeout gets unset on a syntax error.