From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rework handling of subtransactions in 2PC recovery
Date: Thu, 27 Apr 2017 12:43:03 +0000
Message-ID: <E1d3ilD-0006No-FB@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Rework handling of subtransactions in 2PC recovery
The bug fixed by 0874d4f3e183757ba15a4b3f3bf563e0393dd9c2
caused us to question and rework the handling of
subtransactions in 2PC during and at end of recovery.
Patch adds checks and tests to ensure no further bugs.
This effectively removes the temporary measure put in place
by 546c13e11b29a5408b9d6a6e3cca301380b47f7f.
Author: Simon Riggs
Reviewed-by: Tom Lane, Michael Paquier
Discussion: http://postgr.es/m/CANP8+j+vvXmruL_i2buvdhMeVv5TQu0Hm2+C5N+kdVwHJuor8w@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/49e928154978da2a5976628588fc545b726ad84a
Modified Files
--------------
src/backend/access/transam/subtrans.c | 32 +++++++++++------
src/backend/access/transam/twophase.c | 67 +++++++++++++++--------------------
src/backend/access/transam/xact.c | 2 +-
src/backend/access/transam/xlog.c | 4 +--
src/backend/storage/ipc/procarray.c | 2 +-
src/include/access/subtrans.h | 2 +-
src/include/access/twophase.h | 2 +-
7 files changed, 56 insertions(+), 55 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: Rework handling of subtransactions in 2PC recovery
In-Reply-To: <E1d3ilD-0006No-FB@gemulon.postgresql.org>
References: <E1d3ilD-0006No-FB@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