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

From Kevin Grittner
Subject Re: SSI 2PC coverage
Date
Msg-id 4E130F61020000250003EFDD@gw.wicourts.gov
Whole thread Raw
In response to Re: SSI 2PC coverage  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote:
>> Attached is also a patch to fix those, so that all permutations
>> work.
> 
> I think that needs some explanation, why only those
> SxactIsCommitted() tests need to be replaced with
> SxactIsPrepared()? What about the first SxactIsCommitted() test in
> OnConflict_CheckForSerializationFailure(), for instance?
Well, that's covered in the other patch.  This one has the minimum
required to get all the permutations of 2PC working correctly.  It
was looking at just such questions as you pose here that led us to
the other patch.  Neither macro has quite the right semantics
without the lower level work in the "atomic commit" patch.
-Kevin


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SSI atomic commit
Next
From: Brar Piening
Date:
Subject: Re: %ENV warnings during builds