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

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Improving the latch handling between logical replication launcher and worker processes.
Дата
Msg-id CAA4eK1JWSjh6dyjpnL+wmME8EFS=5diRkP-mTci6Mpx0eCKR-w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improving the latch handling between logical replication launcher and worker processes.  (vignesh C <vignesh21@gmail.com>)
Список pgsql-hackers
On Mon, Jul 8, 2024 at 5:47 PM vignesh C <vignesh21@gmail.com> wrote:
>
> On Fri, 5 Jul 2024 at 18:38, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> >
>
> > As an alternative, smaller fix, I think we could do the attached. It
> > forces the launcher's main loop to do another iteration, if it calls
> > logicalrep_worker_launch(). That extra iteration should pick up any
> > missed notifications.
>
> This also works.
>

The minor drawback would be that in many cases the extra iteration
would not lead to anything meaningful.

--
With Regards,
Amit Kapila.



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