[pgpool-committers: 4397] 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
------
master

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

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



More information about the pgpool-committers mailing list