forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf6b8f19
committed
Allocate access strategy in parallel VACUUM workers.
Commit49f49de took entirely the wrong approach to fixing this issue.Just allocate a local buffer access strategy in each individual workerinstead of trying to propagate state. This state was never propagatedby parallel VACUUM in the first place.It looks like the only reason that this worked following commit40d964ewas that it involved static global variables, which are initialized to 0per the C standard.A more comprehensive fix may be necessary, even on HEAD. This fixshould at least get the buildfarm green once again.Thanks once again to Thomas Munro for continued off-list assistance withthe issue.1 parent09c1c6a commitf6b8f19
1 file changed
+3
-7
lines changedLines changed: 3 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 | 197 |
| |
203 | 198 |
| |
204 | 199 |
| |
| |||
3485 | 3480 |
| |
3486 | 3481 |
| |
3487 | 3482 |
| |
3488 |
| - | |
3489 | 3483 |
| |
3490 | 3484 |
| |
3491 | 3485 |
| |
| |||
3726 | 3720 |
| |
3727 | 3721 |
| |
3728 | 3722 |
| |
3729 |
| - | |
| 3723 | + | |
| 3724 | + | |
3730 | 3725 |
| |
3731 | 3726 |
| |
3732 | 3727 |
| |
| |||
3765 | 3760 |
| |
3766 | 3761 |
| |
3767 | 3762 |
| |
| 3763 | + | |
3768 | 3764 |
| |
3769 | 3765 |
| |
3770 | 3766 |
| |
|
0 commit comments
Comments
(0)