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

Yugo Nagata nagata at sraoss.co.jp
Wed Jun 8 21:15:03 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.

Branch
------
master

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

Modified Files
--------------
src/protocol/pool_process_query.c | 10 ++++++++++
1 file changed, 10 insertions(+)



More information about the pgpool-committers mailing list