From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Propagate parallel VACUUM's buffer access strategy. |
Date: | 2021-04-05 21:58:02 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Propagate parallel VACUUM's buffer access strategy.
Parallel VACUUM relied on global variable state from the leader process
being propagated to workers on fork(). Commit b4af70cb removed most
uses of global variables inside vacuumlazy.c, but did not account for
the buffer access strategy state.
To fix, propagate the state through shared memory instead.
Per buildfarm failures on elver, curculio, and morepork.
Many thanks to Thomas Munro for off-list assistance with this issue.
Branch
------
master
Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 7 +++++++
1 file changed, 7 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-04-05 22:42:46 | pgsql: Support INCLUDE'd columns in SP-GiST. |
Previous Message | Peter Geoghegan | 2021-04-05 20:48:44 | Re: pgsql: Simplify state managed by VACUUM. |