[pgpool-committers: 850] pgpool: Fix to calculate replication delay only if standby server is
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)
pool_worker_child.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
More information about the pgpool-committers