Skip to content

Commit 434ace4

Browse files
committed
Improve sanitize message
1 parent 91b5c9d commit 434ace4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

go/logic/applier.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,10 @@ 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+
757+
log.Infof("Sanitizing chunk of created rows during trigger creation (%d/%d)",
758+
int64(len(this.migrationContext.TriggerCutoverUniqueKeys)) - cutIndex,
759+
len(this.migrationContext.TriggerCutoverUniqueKeys))
758760

759761
err := func() error {
760762
tx, err := this.db.Begin()

0 commit comments

Comments
 (0)