pgsql: Fix over-eager ping'ing in logical replication receiver.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix over-eager ping'ing in logical replication receiver.
Дата
Msg-id E1kEM9O-0004EE-QU@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix over-eager ping'ing in logical replication receiver.

Commit 3f60f690f only partially fixed the broken-status-tracking
issue in LogicalRepApplyLoop: we need ping_sent to have the same
lifetime as last_recv_timestamp.  The effects are much less serious
than what that commit fixed, though.  AFAICS this would just lead to
extra ping requests being sent, once per second until the sender
responds.  Still, it's a bug, so backpatch to v10 as before.

Discussion: https://postgr.es/m/959627.1599248476@sss.pgh.pa.us

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9b47ee6e7cba30701b4e11b872455461460650c4

Modified Files
--------------
src/backend/replication/logical/worker.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: pgsql: Fix bogus MaxAllocSize check in logtape.c.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Make new authentication test case more robust.