Re: 2-phase commit

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 2-phase commit
Дата
Msg-id 200309291410.h8TEAHL11068@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: 2-phase commit  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: 2-phase commit  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-hackers
Marc G. Fournier wrote:
> >         Master          Slave
> >         ------          -----
> >         commit ready-->
> >                         <--OK
> >         commit done->XX
> >
> > is the "commit done" message needed ?
> 
> Of course ... how else will the Slave commit?  From my understanding, the
> concept is that the master sends a commit ready to the slave, but the OK
> back is that "OK, I'm ready to commit whenever you are", at which point
> the master does its commit and tells the slave to do its ...

Or the slave could reject the request.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump bug in 7.4
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 2-phase commit