On Mon, Apr 7, 2014 at 10:54 AM, Tom Lane <t...@sss.pgh.pa.us> wrote:
>> [ LockRefindAndRelease ] lacks an
>> Assert(FastPathStrongRelationLocks->count[fasthashcode] > 0).  I think
>> we should add one.
>
> Absolutely.

Turns out there were two places missing such an assertion: the 2PC
path, and the abort-strong-lock-acquire path.  I added an assertion to
both.  In theory, if the problem is coming from either of those
places, this might even increase the frequency of buildfarm failures,
since it removes the necessity for another normal-path release to hit
the same partition afterwards.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to