Skip to content

Commit d0ce7c0

Browse files
author
Shlomi Noach
committed
truncate lag digits
1 parent 21e7ec6 commit d0ce7c0

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
@@ -960,7 +960,7 @@ func (this *Migrator) printStatus(rule PrintStatusRule, writers ...io.Writer) {
960960

961961
currentBinlogCoordinates := *this.eventsStreamer.GetCurrentBinlogCoordinates()
962962

963-
status := fmt.Sprintf("Copy: %d/%d %.1f%%; Applied: %d; Backlog: %d/%d; Time: %+v(total), %+v(copy); streamer: %+v; Lag: %+vs, State: %s; ETA: %s",
963+
status := fmt.Sprintf("Copy: %d/%d %.1f%%; Applied: %d; Backlog: %d/%d; Time: %+v(total), %+v(copy); streamer: %+v; Lag: %.2fs, State: %s; ETA: %s",
964964
totalRowsCopied, rowsEstimate, progressPct,
965965
atomic.LoadInt64(&this.migrationContext.TotalDMLEventsApplied),
966966
len(this.applyEventsQueue), cap(this.applyEventsQueue),

0 commit comments

Comments
 (0)