Skip to content

Commit

Permalink
Fix job progress key time point
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter committed May 22, 2024
1 parent 9dfd678 commit 7a12897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ccr/job_progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (j *JobProgress) NextWithPersist(commitSeq int64, syncState SyncState, subS
j.FullSyncStartAt = time.Now().Unix()
j.IncrementalSyncStartAt = 0
j.IngestBinlogAt = 0
} else if subSyncState == Done && (syncState == TableIncrementalSync || syncState == TableIncrementalSync) {
} else if subSyncState == Done && (syncState == TableIncrementalSync || syncState == DBIncrementalSync) {
j.IncrementalSyncStartAt = time.Now().Unix()
j.IngestBinlogAt = 0
}
Expand Down

0 comments on commit 7a12897

Please sign in to comment.