Skip to content

Commit 9167ccf

Browse files
committed
Improve sanitize message
1 parent 605a3b2 commit 9167ccf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

go/logic/applier.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,9 @@ func (this *Applier) SanitizeRowsDuringCutOver() error {
753753
return insertSelectErr
754754
}
755755

756-
log.Infof("Sanitizing chunk of %d created rows during trigger creation",
757-
len(chunkValues))
756+
log.Infof("Sanitizing chunk of created rows during trigger creation (%d/%d)",
757+
int64(len(this.migrationContext.TriggerCutoverUniqueKeys))-cutIndex,
758+
len(this.migrationContext.TriggerCutoverUniqueKeys))
758759

759760
err := func() error {
760761
tx, err := this.db.Begin()

0 commit comments

Comments
 (0)