topling/toplingdb

Add.iterator.refresh.snapshot

rockeet opened this issue · 0 comments

This was a PR to upstream facebook/rocksdb#10594

Copied from facebook/rocksdb#10594

This PR resolves facebook/rocksdb#10487 & facebook/rocksdb#10536, user code needs to call Refresh() periodically.

Relevant commits

b4352e4 arena_wrapped_db_iter.cc: ArenaWrappedDBIter::Refresh(snap): Update read_options_.snapshot
6bed77f Add Iterator::RefreshKeepSnapshot()
628f6ce Add Iterator::Refresh(snapshot)