Re: Two-phase commit issues

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Two-phase commit issues
Date: 2005-05-20 16:57:42
Message-ID: 200505201657.j4KGvgF03140@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> Uh, that's more or less the entire *POINT*. Once an open transaction is
> >> prepared, it's supposed to survive a server crash.
>
> > Wow. This is much more than I thought we were going to do.
>
> If we tried to claim that anything less was two-phase commit, we'd be
> laughed off the face of the planet ...

Well, based on past discussions, our TODO has:

* Add two-phase commit

This will involve adding a way to respond to commit failure by either
taking the server into offline/readonly mode or notifying the
administrator

As I remember, you said two-phase wasn't 100% reliable and we just
needed a way to report failures.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-05-20 17:14:14 Re: Two-phase commit issues
Previous Message Tom Lane 2005-05-20 16:46:31 Re: Two-phase commit issues