[pgpool-committers: 743] pgpool: Fix long standing bug "portal not found" error when replication

Tatsuo Ishii ishii at postgresql.org
Mon Dec 10 13:25:57 JST 2012


Fix long standing bug "portal not found" error when replication delay
is too much in streaming replication mode.  The bug had been there
since the delay threshold was introduced.

We changed destination DB node if delay threshold exceeds in bind,
describe and execute. However, if parse sends to different node, bind,
describe or execute will fail because no parsed statement or portal
exists.  Solution is, not to send to different parse node even
if delay threshold is too much.

Branch
------
master

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

Modified Files
--------------
pool_proto_modules.c |   21 ++++++++++++++-------
1 files changed, 14 insertions(+), 7 deletions(-)



More information about the pgpool-committers mailing list