From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Lag tracking for logical replication
Date: Fri, 12 May 2017 10:00:39 +0000
Message-ID: <E1d97NH-0001Ki-56@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Lag tracking for logical replication
Lag tracking is called for each commit, but we introduce
a pacing delay to ensure we don't swamp the lag tracker.
Author: Petr Jelinek, with minor pacing delay code from me
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/024711bb544645c8b1061e9f02b261e2e336981d
Modified Files
--------------
src/backend/replication/logical/logical.c | 34 ++++++++++++++-----
src/backend/replication/logical/logicalfuncs.c | 2 +-
src/backend/replication/pgoutput/pgoutput.c | 2 ++
src/backend/replication/slotfuncs.c | 3 +-
src/backend/replication/walsender.c | 45 ++++++++++++++++++++------
src/include/replication/logical.h | 15 ++++++---
src/include/replication/output_plugin.h | 1 +
7 files changed, 79 insertions(+), 23 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: simon@2ndQuadrant.com
Subject: Re: pgsql: Lag tracking for logical replication
In-Reply-To: <E1d97NH-0001Ki-56@gemulon.postgresql.org>
References: <E1d97NH-0001Ki-56@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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