Skip site navigation (1) Skip section navigation (2)

SSI 2PC coverage

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: "Dan Ports" <drkp(at)csail(dot)mit(dot)edu>
Subject: SSI 2PC coverage
Date: 2011-07-05 17:06:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
[resending after gzip of test patch]
In reviewing the recent fix to 2PC coverage in SSI, I found some
cases which didn't seem to be covered.  Dan bit the bullet and came
up with an additional isolation test to rigorously cover all the
permutations, to find *all* 2PC statement orderings which weren't
working right.  Because it was so big, he pared out tests which were
redundant, in that they exercised the same code paths and pointed at
the same issues.  A patch to add this test is attached.  Run against
HEAD it shows the errors.  It's kinda big, but I think it's worth
Attached is also a patch to fix those, so that all permutations
I hope that this one be committed for beta3.

Attachment: ssi-2pc-test.patch.gz
Description: application/octet-stream (42.1 KB)
Attachment: ssi-2pc-fix.patch
Description: text/plain (5.4 KB)


pgsql-hackers by date

Next:From: Robert HaasDate: 2011-07-05 17:13:50
Subject: lazy vxid locks, v2
Previous:From: Robert HaasDate: 2011-07-05 17:06:22
Subject: Re: Range Types, constructors, and the type system

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group