Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: SuperSnapshot is a combination of a snapshot and a super-version. They fulfill the same goal as snapshots, i.e. provide a consistent view of the database. However, unlike snapshots, they also pin the current super-version (memtable, immutable memtable list and file LSM tree). In that way they are similar to iterators, which also pin the current super-version for the duration of their lifetime. Test Plan: Added a basic unit test. Reviewers:
- Loading branch information