From 781f798a915e70c45bbc9bcfbd6e6ba41b1ede9c Mon Sep 17 00:00:00 2001 From: Prudhvi Dhulipalla Date: Tue, 30 Jul 2024 16:38:41 -0700 Subject: [PATCH] Update pkg/throttler/mysql80replica.go Co-authored-by: Morgan Tocker --- pkg/throttler/mysql80replica.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/throttler/mysql80replica.go b/pkg/throttler/mysql80replica.go index 3089eb0..dacf95e 100644 --- a/pkg/throttler/mysql80replica.go +++ b/pkg/throttler/mysql80replica.go @@ -76,7 +76,7 @@ func (l *MySQL80Replica) UpdateLag() error { } atomic.StoreInt64(&l.currentLagInMs, newLagValue) if l.IsThrottled() { - l.logger.Warnf("replication delayed, throttling in progress. lag: %v tolerance: %v", + l.logger.Warnf("replication delayed, throttling in progress. lag: %v tolerance: %v", atomic.LoadInt64(&l.currentLagInMs), l.lagTolerance) } return nil