[pgpool-committers: 853] pgpool: Fix to calculate replication delay only if standby server is

Yugo Nagata nagata at sraoss.co.jp
Fri Mar 29 21:52:43 JST 2013


Fix to calculate replication delay only if standby server is
behind from the primay server.

When the primary server is behind from standby server, negative
value of delay is calculated and the value is assigned to unsigned
variable. It causes a log message informing negative replication
delay. And what is worse, it also causes SELECT queries to be sent
to the primary in load balance even though there are no replication
delay in fact.

The problem is reported and analyzed by Saitoh Hidenori in
[pgpoolgenera-jp: 1145]. (in Japanese)

Branch
------
V3_1_STABLE

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

Modified Files
--------------
pool_worker_child.c |    7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list