pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Track replication origin progress for rollbacks.
Date: Mon, 08 Mar 2021 02:36:47 +0000
Message-ID: <E1lJ5lH-0004sJ-2a@gemulon.postgresql.org> (raw)

Track replication origin progress for rollbacks.

Commit 1eb6d6527a allowed to track replica origin replay progress for 2PC
but it was not complete. It misses to properly track the progress for
rollback prepared especially it missed updating the code for recovery.
Additionally, we need to allow tracking it on subscriber nodes where
wal_level might not be logical.

It is required to track decoding of 2PC which is committed in PG14
(a271a1b50e) and also nobody complained about this till now so not
backpatching it.

Author: Amit Kapila
Reviewed-by: Michael Paquier and Ajin Cherian
Discussion: https://postgr.es/m/CAA4eK1L-kHmMnSdrRW6UhRbCjR7cgh04c+6psY15qzT6ktcd+g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8a812e5106c5db50039336288d376a188844e2cc

Modified Files
--------------
src/backend/access/transam/twophase.c | 13 +++++++++++++
src/backend/access/transam/xact.c     | 24 ++++++++++++++++++------
2 files changed, 31 insertions(+), 6 deletions(-)



Message-ID: <E1lJ5lH-0004sJ-2a@gemulon.postgresql.org>
Permalink:  ../E1lJ5lH-0004sJ-2a@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lJ5lH-0004sJ-2a@gemulon.postgresql.org

 · 

reply

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: akapila@postgresql.org
  Subject: Re: pgsql: Track replication origin progress for rollbacks.
  In-Reply-To: <E1lJ5lH-0004sJ-2a@gemulon.postgresql.org>
  References: <E1lJ5lH-0004sJ-2a@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