fix populating range deletions in forward iterator

Summary:
fixes #2902
Closes https://github.com/facebook/rocksdb/pull/2917

Differential Revision: D5887175

Pulled By: ajkr

fbshipit-source-id: 364e292c636a3238bfc53b0fb9a01ff2f82dcbb9
main
Andrew Kryczka 7 years ago committed by Facebook Github Bot
parent c8f3606731
commit fc7476bec1
  1. 4
      db/forward_iterator.cc

@ -626,8 +626,8 @@ void ForwardIterator::RenewIterators() {
std::unique_ptr<InternalIterator> range_del_iter(
svnew->mem->NewRangeTombstoneIterator(read_options_));
range_del_agg.AddTombstones(std::move(range_del_iter));
sv_->imm->AddRangeTombstoneIterators(read_options_, &arena_,
&range_del_agg);
svnew->imm->AddRangeTombstoneIterators(read_options_, &arena_,
&range_del_agg);
}
const auto* vstorage = sv_->current->storage_info();

Loading…
Cancel
Save