From 5db36de24b282fc05e26614d58802c8284f89621 Mon Sep 17 00:00:00 2001 From: Prudhvi Chaitanya Dhulipalla Date: Tue, 30 Jul 2024 16:16:12 -0700 Subject: [PATCH] Remove copier word from log to have the throttler be used outside of spirit --- pkg/throttler/mysql80replica.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/throttler/mysql80replica.go b/pkg/throttler/mysql80replica.go index 92b51f6..3089eb0 100644 --- a/pkg/throttler/mysql80replica.go +++ b/pkg/throttler/mysql80replica.go @@ -76,7 +76,8 @@ func (l *MySQL80Replica) UpdateLag() error { } atomic.StoreInt64(&l.currentLagInMs, newLagValue) if l.IsThrottled() { - l.logger.Warnf("replication delayed, copier is now being throttled. lag: %v tolerance: %v", atomic.LoadInt64(&l.currentLagInMs), l.lagTolerance) + l.logger.Warnf("replication delayed, throttling in progress. lag: %v tolerance: %v", + atomic.LoadInt64(&l.currentLagInMs), l.lagTolerance) } return nil }