From ad96a62a1029d4596b10eab53fbb8e873976d759 Mon Sep 17 00:00:00 2001 From: Changyu Bi Date: Thu, 14 Sep 2023 21:26:09 -0700 Subject: [PATCH] Refresh read seq in LevelIterator. --- db/version_set.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db/version_set.cc b/db/version_set.cc index 02ed29b7b1a..ef6d3094407 100644 --- a/db/version_set.cc +++ b/db/version_set.cc @@ -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();