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 CAA4eK1JnP6hb1vc--MbUq5CZf_6KakacMq5L-MLj7oVFBJk9Rg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improving the latch handling between logical replication launcher and worker processes.  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Fri, Jul 5, 2024 at 6:38 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>
>
> Your solution with an additional latch seems better because it makes
> WaitForReplicationWorkerAttach() react more quickly, without the 10 s
> wait. I'm surprised we have that in the first place, 10 s seems like a
> pretty long time to wait for a parallel apply worker to start. Why was
> that ever OK?
>

Isn't the call wait for 10 milliseconds?  The comment atop
WaitLatch("The "timeout" is given in milliseconds...) indicates the
timeout is in milliseconds.

--
With Regards,
Amit Kapila.



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

Предыдущее
От: "Joel Jacobson"
Дата:
Сообщение: Re: pgsql: Add pg_get_acl() to get the ACL for a database object
Следующее
От: "Joel Jacobson"
Дата:
Сообщение: Re: Incorrect results from numeric round() and trunc()