Exactly.  A 2PC expects every participant that makes it to the prepare to commit phase to survive a server restart, controller or otherwise.  Anything less is not 2PC. 

Jordan Henderson

On Fri, 2005-05-20 at 12:07 -0400, Tom Lane wrote:
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I am a little confused by this.  How does two-phase commit add extra
> requirements on crash recovery?

Uh, that's more or less the entire *POINT*.  Once an open transaction is
prepared, it's supposed to survive a server crash.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to