[pgpool-committers: 744] 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
------
V3_1_STABLE

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

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



More information about the pgpool-committers mailing list