[pgpool-committers: 4400] pgpool: Fix for re-sync logic in reading packet from backend.

Tatsuo Ishii ishii at postgresql.org
Tue Dec 12 16:24:16 JST 2017


Fix for re-sync logic in reading packet from backend.

read_kind_from_backend(), which reads message kind from backend,
re-syncs backend nodes when a ready for query message is
received. Unfortunately it forgot to call
pool_pending_message_pull_out() to delete sync pending message. This
leads to random stuck while reading packets from backend. Fix this to
call pool_pending_message_pull_out().

Branch
------
V3_6_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=911d6e78429598b399577b9473d5ab3148ecd795

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



More information about the pgpool-committers mailing list