[pgpool-committers: 3264] pgpool: Fix a posible hang during health checking

Yugo Nagata nagata at sraoss.co.jp
Wed Jun 15 15:26:51 JST 2016


Fix a posible hang during health checking

Helath checking was hang when any data wasn't sent
from backend after connect(2) succeeded. To fix this,
pool_check_fd() returns 1 when select(2) exits with
EINTR due to SIGALRM while health checkking is performed.

Reported and patch provided by harukat and some modification
by Yugo. Per bug #204.

backported from 3.4 or later;
https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=ed9f2900f1b611f5cfd52e8f758c3616861e60c0

Branch
------
V3_2_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c37e3f83b2fea74bb879f0d4ed96e85c632ee499

Modified Files
--------------
pool_process_query.c | 8 ++++++++
1 file changed, 8 insertions(+)



More information about the pgpool-committers mailing list