forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb37d051
committed
Remove overzealous assertion from PHJ.
We can't assert that we're the only process attached to a barrier afterBarrierArriveAndDetachExceptLast(). Although that'll be true almostalways, a late-starting parallel worker can attach very briefly (thatis, immediately detach after checking the phase) right at that moment.BarrierArriveAndDetachExceptLast() already contains an assertion likethat, but it holds a spinlock preventing the race. This thinko caused aone-off failure on build farm animal chimaera.Diagnosed-by: Melanie Plageman <melanieplageman@gmail.com>Reported-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/3590249.1680971629@sss.pgh.pa.us1 parent21e6bf4 commitb37d051
1 file changed
+0
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2115 | 2115 |
| |
2116 | 2116 |
| |
2117 | 2117 |
| |
2118 |
| - | |
2119 | 2118 |
| |
2120 | 2119 |
| |
2121 | 2120 |
| |
|
0 commit comments
Comments
(0)