Skip to content

Commit d4ac082

Browse files
committed
write checkpoint iteration number
1 parent 8c2ad77 commit d4ac082

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/logic/migrator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,7 @@ func (this *Migrator) Checkpoint(ctx context.Context) (*Checkpoint, error) {
14061406
return nil, errors.New("iteration range is empty, not checkpointing...")
14071407
}
14081408
chk := &Checkpoint{
1409+
Iteration: this.migrationContext.GetIteration(),
14091410
IterationRangeMin: this.applier.LastIterationRangeMinValues.Clone(),
14101411
IterationRangeMax: this.applier.LastIterationRangeMaxValues.Clone(),
14111412
LastTrxCoords: coords,

0 commit comments

Comments
 (0)