pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix over-eager ping'ing in logical replication receiver. 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix over-eager ping'ing in logical replication receiver. @ 2020-09-05 00:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-09-05 00:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c8746f999ea2feba22832b485fba37b5301b54a3 Modified Files -------------- src/backend/replication/logical/worker.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix over-eager ping'ing in logical replication receiver. @ 2020-09-05 00:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-09-05 00:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9b81a30f924cf30e6bf3abb3366706440351e163 Modified Files -------------- src/backend/replication/logical/worker.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix over-eager ping'ing in logical replication receiver. @ 2020-09-05 00:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-09-05 00:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix over-eager ping'ing in logical replication receiver. @ 2020-09-05 00:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-09-05 00:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7156a0eac3aff743cf0e0972db58c8fffe55cbfc Modified Files -------------- src/backend/replication/logical/worker.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix over-eager ping'ing in logical replication receiver. @ 2020-09-05 00:33 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-09-05 00:33 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9b8a8516ed2e4268026a826c5e9b768f88aa67aa Modified Files -------------- src/backend/replication/logical/worker.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-09-05 00:33 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-09-05 00:33 pgsql: Fix over-eager ping'ing in logical replication receiver. Tom Lane <tgl@sss.pgh.pa.us> 2020-09-05 00:33 pgsql: Fix over-eager ping'ing in logical replication receiver. Tom Lane <tgl@sss.pgh.pa.us> 2020-09-05 00:33 pgsql: Fix over-eager ping'ing in logical replication receiver. Tom Lane <tgl@sss.pgh.pa.us> 2020-09-05 00:33 pgsql: Fix over-eager ping'ing in logical replication receiver. Tom Lane <tgl@sss.pgh.pa.us> 2020-09-05 00:33 pgsql: Fix over-eager ping'ing in logical replication receiver. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox