Re: 2-phase commit - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: 2-phase commit
Date
Msg-id 1066090267.46588.14.camel@jester
Whole thread Raw
In response to Re: 2-phase commit  ("Dann Corbit" <DCorbit@connx.com>)
Responses Re: 2-phase commit  (Jordan Henderson <jordan_henders@yahoo.com>)
List pgsql-hackers
> I think another way it could be handled is with nested transactions.
> Just have the promise phase be an inner transaction commit but have an
> outer transaction bracket that one for the actual commit.

Not really. In the event of a crash, most 2PC systems will expect the
participant to come back in the same state it crashed in.

Our nested-transaction implementation (like our standard transaction
implementation) aborts all transactions on crash.

pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: Heading to final release
Next
From: Gaetano Mendola
Date:
Subject: Re: ways to force index use?