Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storage): do not fetch all sst meta when create iterator #9517

Merged
merged 18 commits into from
May 5, 2023
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ impl DeleteRangeIterator for ConcatDeleteRangeIterator {
.le(&target_user_key)
})
.saturating_sub(1); // considering the boundary of 0
self.current.take();
self.seek_idx(idx, Some(target_user_key)).await?;
while idx + 1 < self.sstables.len() && !self.is_valid() {
self.seek_idx(idx + 1, None).await?;
idx += 1;
Expand Down