Re: two phase commit

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: two phase commit
Дата
Msg-id 20070720192645.GR30770@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на two phase commit  (Ben <bench@silentmedia.com>)
Ответы Re: two phase commit  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-general
On Thu, Jul 19, 2007 at 03:13:27PM -0700, Ben wrote:
> What corner case reduces 2pc from "guaranteed" to "very high probability"?
> Is the worry if somebody leaves transactions in a prepared state for
> weeks, only to find that deadlock issues has arrisen at final commit time?

That's not the worry, no.  But something _else_ could happen.  For
instance, recently it turned out that there was a way, using 2PC, to
lock everybody out of the database.  The only remedy to that at the
moment is to blow away all the PREPAREd transactions, which could
mean you lose something that was already committed to.

A
--
Andrew Sullivan  | ajs@crankycanuck.ca
This work was visionary and imaginative, and goes to show that visionary
and imaginative work need not end up well.
        --Dennis Ritchie

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: OSCON Booth volunteers
Следующее
От: Bill Moran
Дата:
Сообщение: Solved? Re: 8.2.4 signal 11 with large transaction