[pgpool-committers: 2915] 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
------
V3_4_STABLE

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

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