Non working timeout detection in logical worker

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Non working timeout detection in logical worker
Дата
Msg-id CAOBaU_ZHESFcWva8jLjtZdCLspMj7vqaB2k++rjHLY897ZxbYw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Non working timeout detection in logical worker  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hello,

Jehan-Guillaume (in Cc) reported me today a problem with logical
replication, where in case of network issue the walsender is correctly
terminating at the given wal_sender_timeout but the logical worker
kept waiting indefinitely.

The issue is apparently a simple thinko, the timestamp of the last
received activity being unconditionally set at the beginning of the
main processing loop, making any reasonable timeout setting
ineffective.  Trivial patch to fix the problem attached.

Вложения

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

Предыдущее
От: Jeremy Finzel
Дата:
Сообщение: UPSERT on view does not find constraint by name
Следующее
От: Lars Kanis
Дата:
Сообщение: libpq: Fix wrong connection status on invalid "connect_timeout"