- Notifications
You must be signed in to change notification settings - Fork28
Commitb25dc48
committed
Fix oversight in sizing of shared buffer lookup hashtable. Because
BufferAlloc tries to insert a new mapping entry before deleting the old onefor a buffer, we have a transient need for more than NBuffers entries ---one more in 8.1, and as many as NUM_BUFFER_PARTITIONS more in CVS HEAD.In theory this could lead to an "out of shared memory" failure if shmemhad already been completely claimed by the time the extra entries wereneeded.1 parent10b9ca3 commitb25dc48
1 file changed
+11
-4
lines changedLines changed: 11 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
213 | 213 |
| |
214 | 214 |
| |
215 | 215 |
| |
216 |
| - | |
217 |
| - | |
| 216 | + | |
| 217 | + | |
218 | 218 |
| |
219 | 219 |
| |
220 | 220 |
| |
| |||
236 | 236 |
| |
237 | 237 |
| |
238 | 238 |
| |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
239 | 246 |
| |
240 |
| - | |
| 247 | + | |
241 | 248 |
| |
242 | 249 |
| |
243 | 250 |
| |
|
0 commit comments
Comments
(0)