Re: SSI and 2PC - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: SSI and 2PC
Date
Msg-id 1294766467.18031.3672.camel@jdavis
Whole thread Raw
In response to Re: SSI and 2PC  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: SSI and 2PC
List pgsql-hackers
On Mon, 2011-01-10 at 11:50 -0600, Kevin Grittner wrote:
> I'm trying not to panic here, but I haven't looked at 2PC before
> yesterday and am just dipping into the code to support it, and time
> is short.  Can anyone give me a pointer to anything I should read
> before I dig through the 2PC code, which might accelerate this?

I don't see much about 2PC outside of twophase.c.

Regarding the original post, I agree that we should have two
phase-commit support for SSI. We opted not to support it for
notifications, but there was a fairly reasonable argument why users
wouldn't value the combination of 2PC and NOTIFY.

I don't expect this to be a huge roadblock for the feature though. It
seems fairly contained. I haven't read the 2PC code either, but I don't
expect that you'll need to change the rest of your algorithm just to
support it.

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: Streaming base backups
Next
From: Jan Urbański
Date:
Subject: Re: autogenerating error code lists (was Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.)