forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfddf45b
committed
Plug race in dsa_attach.
With sufficiently bad luck, it was possible for a parallel worker toattempt attach to a DSA area after all other backends have detachedfrom it, which is not legal. If the worker had waited a little longerto get started, the DSM itself would have been destroyed, which is whythis wasn't noticed before.Thomas Munro, per a report from Andreas SeltenreichDiscussion:http://postgr.es/m/87h92g83t3.fsf@credativ.de1 parent3582b22 commitfddf45b
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1314 | 1314 |
| |
1315 | 1315 |
| |
1316 | 1316 |
| |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
1317 | 1324 |
| |
1318 | 1325 |
| |
1319 | 1326 |
| |
|
0 commit comments
Comments
(0)