Skip to content

Commit

Permalink
sstable: fix merge skew
Browse files Browse the repository at this point in the history
  • Loading branch information
RaduBerinde committed Jul 10, 2024
1 parent 26fe5a0 commit 593c046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sstable/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func (r *Reader) NewRawRangeDelIter(
return nil, err
}
transforms.ElideSameSeqNum = true
i, err := rowblk.NewFragmentIter(r.fileNum, r.Compare, r.Split, h, transforms)
i, err := rowblk.NewFragmentIter(r.cacheOpts.FileNum, r.Compare, r.Split, h, transforms)
if err != nil {
return nil, err
}
Expand All @@ -339,7 +339,7 @@ func (r *Reader) NewRawRangeKeyIter(
if err != nil {
return nil, err
}
i, err := rowblk.NewFragmentIter(r.fileNum, r.Compare, r.Split, h, transforms)
i, err := rowblk.NewFragmentIter(r.cacheOpts.FileNum, r.Compare, r.Split, h, transforms)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 593c046

Please sign in to comment.