Add isolationtester spec for old heapam.c bug
Alvaro Herrera <alvherre@alvh.no-ip.org>
Add isolationtester spec for old heapam.c bug In 0e5680f4737a, I fixed a bug in heapam that caused spurious deadlocks when multiple updates concurrently attempted to modify the old version of an updated tuple whose new version was key-share locked. I proposed an isolationtester spec file that reproduced the bug, but back then isolationtester wasn't mature enough to be able to run it. Now that 38f8bdcac498 is in the tree, we can have this spec file too. Discussion: https://www.postgresql.org/message-id/20141212205254.GC1768%40alvh.no-ip.org
Files
| Path | Change | +/− |
|---|---|---|
| src/test/isolation/expected/tuplelock-update.out | added | +24 −0 |
| src/test/isolation/isolation_schedule | modified | +1 −0 |
| src/test/isolation/specs/tuplelock-update.spec | added | +28 −0 |
Discussion
- regression, deadlock in high frequency single-row UPDATE 34 messages · 2014-07-31 → 2014-12-29