Skip to content

Commit

Permalink
Fix job progress key time point (selectdb#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
w41ter authored and lsy3993 committed Jun 7, 2024
1 parent 4a43300 commit 78e96d3
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 78e96d3

Please sign in to comment.