Re: 2PC-induced lockup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 2PC-induced lockup
Date
Msg-id 9380.1184269307@sss.pgh.pa.us
Whole thread Raw
In response to Re: 2PC-induced lockup  (Andrew Sullivan <ajs@crankycanuck.ca>)
List 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 by date:

Previous
From: "Affan Salman"
Date:
Subject: FK Deferred RI Triggers & SAVEPOINTs --- A"C"ID violation
Next
From: Tom Lane
Date:
Subject: Re: compiler warnings on the buildfarm