Skip to content

Commit

Permalink
Refresh read seq in LevelIterator.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbi42 committed Sep 15, 2023
1 parent d2f9f68 commit ad96a62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db/version_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,10 @@ class LevelIterator final : public InternalIterator {

bool IsDeleteRangeSentinelKey() const override { return to_return_sentinel_; }

void SetRangeDelReadSeqno(SequenceNumber read_seq) override {
read_seq_ = read_seq;
}

private:
// Return true if at least one invalid file is seen and skipped.
bool SkipEmptyFileForward();
Expand Down

0 comments on commit ad96a62

Please sign in to comment.