[pgpool-committers: 2916] pgpool: Fixing the logic issue in get_backends_status() function

Muhammad Usama m.usama at gmail.com
Wed Jan 6 03:30:42 JST 2016


Fixing the logic issue in get_backends_status() function

get_backends_status () function counts the number of current valid and down
backend nodes. The issue with the function logic was, it assumes the node is
also invalid when its connection status is down, that is not always right.
The commit also fix some log messages

Branch
------
master

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

Modified Files
--------------
src/protocol/child.c                | 4 ++--
src/protocol/pool_connection_pool.c | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list