- Notifications
You must be signed in to change notification settings - Fork5
Commitbfaa8c6
committed
Fix calculation of PREDICATELOCK_MANAGER_LWLOCK_OFFSET.
Commitea9df81 failed to includeNUM_BUFFER_PARTITIONS in this offset, resulting in a bad offset.Ultimately this threw off NUM_FIXED_LWLOCKS which is based onearlier offsets, leading to memory allocation problems. It seemslikely to have also caused increased LWLOCK contention whenserializable transactions were used, because lightweight locks usedfor that overlapped others.Reported by Amit Kapila with analysis and fix.Backpatch to 9.4, where the bug was introduced.1 parent9ba78fb commitbfaa8c6
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
| 154 | + | |
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
|
0 commit comments
Comments
(0)