Re: 2PC-induced lockup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 2PC-induced lockup
Дата
Msg-id 9380.1184269307@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 2PC-induced lockup  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-hackers
Andrew Sullivan <ajs@crankycanuck.ca> writes:
> But the other problem I see here is that the solution hits more than
> just the problematic state.  If we have bad pages on disk, for
> instance, we zero pages; we don't drop the table.  Similarly, it
> seems that all that's necessary here is an external tool to grovel
> through the prepared transaction files and somehow figure out what
> locks, if any, they entail.

Something equivalent to pg_filedump or xlogdump for 2PC state files
would be worth having for development/debugging purposes, quite aside
from any possible usefulness for getting out of this type of
predicament.  Any volunteers out there to write/maintain such a utility?
        regards, tom lane


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

Предыдущее
От: "Affan Salman"
Дата:
Сообщение: FK Deferred RI Triggers & SAVEPOINTs --- A"C"ID violation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: compiler warnings on the buildfarm