[pgpool-committers: 32] pgpool: Fix pool_process_query() rus into infinite loop reported in thi
Tatsuo Ishii
ishii at postgresql.org
Sat Dec 24 13:32:27 JST 2011
Fix pool_process_query() rus into infinite loop reported in this
thread:
http://www.pgpool.net/pipermail/pgpool-general/2011-December/000099.html
In the code path the case when receive buffer of primary is empty and
one of standbys sends spontaneously packet to pgpool (thus their
recieve buffers have data) is not considered. This could happen when,
for example, reloading postgresql.conf. The fix is, read one packet
from standby's receive buffer and discard it.
Note that the problem started with pgpool-II 3.0.4 (released on
2011/6/1).
Branch
------
V3_0_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6171a9542b855adc6bd724c9784f02a0489c9d37
Modified Files
--------------
pool_process_query.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 83 insertions(+), 1 deletions(-)
More information about the pgpool-committers
mailing list