Re: 2-phase commit

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: 2-phase commit
Дата
Msg-id Pine.LNX.4.44.0309292153500.24925-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: 2-phase commit  (Manfred Spraul <manfred@colorfullife.com>)
Ответы Re: 2-phase commit  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-hackers
Manfred Spraul writes:

> Ok. Lets assume one coordinator, two partitipants.
> Global commit send to both by coordinator. One replies with ok, the
> other one remains silent.
> What should the coordinator do? It can't fail the transaction - the
> first partitipant has commited its part. It can't complete the
> transaction, because the ok from the 2nd partitipant is still outstanding.

If a participant doesn't reply in an orderly fashion (say, after timeout),
it just gets kicked out of the whole mechanism.  That isn't the
interesting part.  The interesting part is what happens when the
coordinator fails.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 7.4 status
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: 7.4 status