Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit f2fcbfa

Browse files
authored
lightning: fix panic in nextKey (#1261) (#1266)
1 parent 3ac0a28 commit f2fcbfa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkg/lightning/backend/local/local.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,8 +1656,7 @@ func (local *local) writeAndIngestByRange(
16561656
if !hasKey {
16571657
log.L().Info("There is no pairs in iterator",
16581658
logutil.Key("start", start),
1659-
logutil.Key("end", end),
1660-
logutil.Key("next end", nextKey(end)))
1659+
logutil.Key("end", end))
16611660
engineFile.finishedRanges.add(Range{start: start, end: end})
16621661
return nil
16631662
}

0 commit comments

Comments
 (0)