Re: [COMMITTERS] pgsql: Rework subtransaction commit protocol for hot standby. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Rework subtransaction commit protocol for hot standby.
Date
Msg-id 20709.1224708096@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Rework subtransaction commit protocol for hot standby.  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: [COMMITTERS] pgsql: Rework subtransaction commit protocol for hot standby.
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> It's nothing to do with confusing commit/abort.

> The new way of doing things on commit is to subcommit then commit. This
> sequence is repeated during WAL replay. If we crash, it will try to
> repeat the sequence, so in some cases it will try to set status to
> subcommitted on a transaction already marked as committed.

Hmm, but then why did we not see the same thing before?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [COMMITTERS] pgsql: Rework subtransaction commit protocol for hot standby.
Next
From: Simon Riggs
Date:
Subject: Re: Deriving Recovery Snapshots