Re: 2-phase commit

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>, Christopher Browne <cbbrowne(at)acm(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 2-phase commit
Date: 2003-10-14 00:11:08
Message-ID: 1066090267.46588.14.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gaetano Mendola 2003-10-14 00:20:40 Re: ways to force index use?
Previous Message Rod Taylor 2003-10-14 00:07:05 Re: Heading to final release