Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sstable: simplify monotonic bounds optimization condition
When a sstable iterator's bounds move monotonically forward to an abutting keyspan, the iterator employs an optimization to use the existing iterator position. When checking whether this condition was possible, the single-level iterator previously checked !i.index.IsDataInvalidated(). This case will always be true within the context of the single-level iterator. No single-level iterator methods other than initialization routines ever load the index block.
- Loading branch information