Re: Hot Standby and prepared transactions - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Hot Standby and prepared transactions
Date
Msg-id 1260952244.634.718.camel@ebony
Whole thread Raw
In response to Re: Hot Standby and prepared transactions  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Hot Standby and prepared transactions
List pgsql-hackers
On Wed, 2009-12-16 at 09:10 +0200, Heikki Linnakangas wrote:
> Simon Riggs wrote:
> > Investigating how that could come about, it looks like there is some
> > fairly strange stuff going on here. StandbyRecoverPreparedTransactions()
> > is never called at all.
> 
> I told you so:
> http://archives.postgresql.org/message-id/4B260B5E.3010401@enterprisedb.com

OK, I didn't understand that. Removed.


> > * Skip assert when doing SubTransSetParent in
> > RecoverPreparedTransactions() when in Hot Standby mode because some
> > subxids will have been marked already
> 
> Seems reasonable. Let's still Assert that the parent is the same as last
> time.

Fix committed to git.

---

That fixes or explains all known issues, from me. Are there any other
things you know about that I haven't responded to? Do you think we have
addressed every issue, except deferred items?

I will be looking to commit to CVS later today; waiting on any
objections.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Gurjeet Singh
Date:
Subject: Re: Need a mentor, and a project.
Next
From: Hiroyuki Yamada
Date:
Subject: Re: Hot Standby and prepared transactions