Re: [HACKERS] Logical replication launcher uses wal_retrieve_retry_interval

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема Re: [HACKERS] Logical replication launcher uses wal_retrieve_retry_interval
Дата
Msg-id CAD21AoBv9bXS7cRn_jpH5YjbLjiaTZ8K+tsdMzgP8fgZjvWVfQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Logical replication launcher useswal_retrieve_retry_interval  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Ответы Re: [HACKERS] Logical replication launcher useswal_retrieve_retry_interval
Список pgsql-hackers
On Fri, Apr 14, 2017 at 9:59 PM, Petr Jelinek
<petr.jelinek@2ndquadrant.com> wrote:
> On 14/04/17 14:30, Michael Paquier wrote:
>> On Fri, Apr 14, 2017 at 9:19 PM, Petr Jelinek
>> <petr.jelinek@2ndquadrant.com> wrote:
>>> I am not quite sure adding more GUCs is all that great option. When
>>> writing the patches I was wondering if we should perhaps rename the
>>> wal_receiver_timeout and wal_retrieve_retry_interval to something that
>>> makes more sense for both physical and logical replication though.
>>
>> It seems to me that you should really have a different GUC,
>> wal_retrieve_retry_interval has been designed to work in the startup
>> process, and I think that it should still only behave as originally
>> designed.
>
> Ah yeah I am actually confusing it with wal_receiver_timeout which
> behaves same for wal_receiver and subscription worker. So yeah it makes
> sense to have separate GUC

Attached two patches add new GUCs apply_worker_timeout and
apply_worker_launch_interval which are used instead of
wal_receiver_timeout and wal_retrieve_retry_timeout. These new
parameters are not settable at worker-level so far.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] snapbuild woes
Следующее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] Logical replication and inheritance