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 15:25:08
Message-ID: 200505201525.j4KFP8518206@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> I've started to look seriously at Heikki's patch for two-phase commit.
> There are a few issues that probably deserve discussion:
>
> * The major missing issue that I've come across so far is that
> subtransaction and multixact state isn't preserved across a crash.

I am a little confused by this. How does two-phase commit add extra
requirements on crash recovery? I understand a crashed server might be
involved in a two-phase commit, but doesn't the transaction just roll
back?

--
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 Steve Atkins 2005-05-20 15:29:05 Re: Learning curves and such (was Re: pgFoundry)
Previous Message Devrim GUNDUZ 2005-05-20 15:11:19 Re: 8.02 rpm error