From: | "Hiroshi Inoue" <inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | "'Zeugswetter Andreas SB SD'" <ZeugswetterA(at)spardat(dot)at> |
Cc: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: 2-phase commit |
Date: | 2003-09-29 14:29:56 |
Message-ID: | 012f01c38696$2a33f390$3d283ddb@PbgX |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> -----Original Message-----
> From: Zeugswetter Andreas SB SD [mailto:ZeugswetterA(at)spardat(dot)at]
> >
> > Example:
> >
> > Master Slave
> > ------ -----
> > commit ready-->
>
> This is the commit for phase 1. This commit is allowed to return all
> sorts of errors, like violated deferred checks, out of diskspace, ...
>
> > <--OK
> > commit done->XX
>
> This is commit for phase 2, the slave *must* answer with "success"
> in all but hardware failure cases. (Note that instead the
> master could
> instead send rollback, e.g. because some other slave aborted)
>
> > is the "commit done" message needed ?
>
> So, yes this is needed
Thanks.
I misunderstood that the "commit done" message is the last response from
the participant to the coordinator. I missed the "OK" message before it.
Where were my eyes ?
regards,
Hiroshi Inoue
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-09-29 14:30:40 | Re: pgsql-server/src/backend catalog/index.c comma ... |
Previous Message | Christof Petig | 2003-09-29 14:28:41 | Re: Alter Table Column Datatype |