git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b4af70c) | patch
Propagate parallel VACUUM's buffer access strategy.
Mon, 5 Apr 2021 21:56:56 +0000 (14:56 -0700)
Mon, 5 Apr 2021 21:56:56 +0000 (14:56 -0700)
commit 49f49defe7c0a330cca084de5da14ccdfdafc6a3
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.
src/backend/access/heap/vacuumlazy.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /