Re: Two-phase commit

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Rod Taylor <pg(at)rbt(dot)ca>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Two-phase commit
Date: 2004-10-07 00:01:08
Message-ID: 41648744.5090709@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Rod Taylor wrote:
> On Wed, 2004-10-06 at 18:50, Tom Lane wrote:
>
>>Well, the question is how long must the individual databases retain
>>state with which to answer "recover" requests. I don't like "forever",
>>so I'm proposing that there should be an explicit command to say "you
>>can forget about this gid".
>
>
> Isn't this exactly what the "forget" request is for in the
> XACoordinator? I think it's standard for Java at the very least.

I think XAResource.forget() is to do with transactions that have
heuristically completed (completion of a txn without explicit directions
from the TM?), rather than the "normal" case.

-O

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2004-10-07 01:14:33 Re: SQL-Invoked Procedures for 8.1
Previous Message Tom Lane 2004-10-06 23:46:53 Re: Two-phase commit

Browse pgsql-patches by date

  From Date Subject
Next Message Ingo van Lil 2004-10-07 00:04:22 [psql] Setting the PROMPT on command line
Previous Message Neil Conway 2004-10-06 23:51:50 Re: document "rep; no" black magic