Re: SSI 2PC coverage

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: "Dan Ports" <drkp(at)csail(dot)mit(dot)edu>,<pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SSI 2PC coverage
Date: 2011-07-05 18:19:29
Message-ID: 4E130F61020000250003EFDD@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brar Piening 2011-07-05 18:20:50 Re: %ENV warnings during builds
Previous Message Tom Lane 2011-07-05 18:16:20 Re: SSI atomic commit