Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed May 15, 2023
1 parent 979d228 commit 5415d7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions br/pkg/lightning/backend/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,10 @@ func (local *Backend) executeJob(
job.lastRetryableErr = err
return nil
}
// if the job.stage successfully converted into "ingested", it means
// these data are ingested into TiKV so we handle remaining data.
// For other job.stage, the job should be sent back to caller to retry
// later.
if job.stage != ingested {
return nil
}
Expand Down

0 comments on commit 5415d7b

Please sign in to comment.