[pgpool-committers: 4422] pgpool: Fix health checking process death and forking forever.
Tatsuo Ishii
ishii at postgresql.org
Tue Dec 19 07:39:26 JST 2017
Fix health checking process death and forking forever.
When failed to read from backend socket (this could happen when wrong
health_check_user is specified), the health check process raises a
FATAL error in pool_read(), which causes death of health check
process. And Pgpool-II main forks off a new health check process. This
repeats forever.
Fix is, check the process type and it raises if the type is HEALTH
CHECK in addition to MAIN.
Back patch to 3.7 stable tree as well.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=21a5a541340f37a06eb37b593229c63222899e2d
Modified Files
--------------
src/utils/pool_stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the pgpool-committers
mailing list