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

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

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



More information about the pgpool-committers mailing list