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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e753ae6) | patch
Avoid creating parallel apply state hash table unless required.
2023年1月13日 02:58:05 +0000 (08:28 +0530)
2023年1月13日 02:58:05 +0000 (08:28 +0530)
commit dca8b01f5f1f7c83c59a16393724fbd8a29ddecb
Avoid creating parallel apply state hash table unless required.

This hash table is used to cache the state of streaming transactions being
applied by the parallel apply workers. So, this should be created only
when we are successful in launching at least one worker. This avoids rare
case memory leak when we are never able to launch any worker.

Author: Ted Yu
Discussion: https://postgr.es/m/CALte62wg0rBR3Vj2beV=HiWo2qG9L0hzKcX=yULNER0wmf4aEw@mail.gmail.com
src/backend/replication/logical/applyparallelworker.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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