Skip to content

Commit d5c2414

Browse files
committed
Move 'heartbeat is too high' back to Debug logs again
1 parent 48ce087 commit d5c2414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/logic/migrator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ func (this *Migrator) cutOver() (err error) {
526526
heartbeatLag := this.migrationContext.TimeSinceLastHeartbeatOnChangelog()
527527
maxLagMillisecondsThrottleThreshold := atomic.LoadInt64(&this.migrationContext.MaxLagMillisecondsThrottleThreshold)
528528
if heartbeatLag > time.Duration(maxLagMillisecondsThrottleThreshold)*time.Millisecond {
529-
this.migrationContext.Log.Infof("current HeartbeatLag (%.2fs) is too high, it needs to be less than --max-lag-millis (%.2fs) to continue", heartbeatLag.Seconds(), (time.Duration(maxLagMillisecondsThrottleThreshold) * time.Millisecond).Seconds())
529+
this.migrationContext.Log.Debugf("current HeartbeatLag (%.2fs) is too high, it needs to be less than --max-lag-millis (%.2fs) to continue", heartbeatLag.Seconds(), (time.Duration(maxLagMillisecondsThrottleThreshold) * time.Millisecond).Seconds())
530530
return true, nil
531531
} else {
532532
return false, nil

0 commit comments

Comments
 (0)