Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#1261
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
sleepymole authored and ti-chi-bot committed Jun 22, 2021
1 parent 35ecb54 commit c894205
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/lightning/backend/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -1135,8 +1135,13 @@ func (local *local) writeAndIngestByRange(
if !hasKey {
log.L().Info("There is no pairs in iterator",
logutil.Key("start", start),
<<<<<<< HEAD
logutil.Key("end", end),
logutil.Key("next end", nextKey(end)))
=======
logutil.Key("end", end))
engineFile.finishedRanges.add(Range{start: start, end: end})
>>>>>>> 88936a3a (lightning: fix panic in `nextKey` (#1261))
return nil
}
pairStart := append([]byte{}, iter.Key()...)
Expand Down

0 comments on commit c894205

Please sign in to comment.