Re: 2-phase commit

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: 2-phase commit
Дата
Msg-id 012f01c38696$2a33f390$3d283ddb@PbgX
обсуждение исходный текст
Ответ на Re: 2-phase commit  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Список pgsql-hackers
> -----Original Message-----
> From: Zeugswetter Andreas SB SD [mailto:ZeugswetterA@spardat.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christof Petig
Дата:
Сообщение: Re: Alter Table Column Datatype
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: 2-phase commit