Skip to content

Commit

Permalink
store: handle nil execption (#37998) (#38016)
Browse files Browse the repository at this point in the history
close #37989
  • Loading branch information
ti-srebot authored Sep 21, 2022
1 parent bfa9d08 commit 6a906f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions store/copr/batch_coprocessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ func balanceBatchCopTask(ctx context.Context, kvStore *kvStore, originalTasks []
// The interval time is so short that may happen in a same query, so we needn't to check again.
mu.Unlock()
return
} else if !ok {
lastAny = time.Time{}
}
mu.Unlock()

Expand Down

0 comments on commit 6a906f7

Please sign in to comment.