-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
table cache: use a long-lived ReaderProvider
An `sstable.ReaderProvider` is necessary whenever an sstable has value blocks. Currently, we allocate one every time we create a point iterator. This commit makes the `tableCacheShardReaderProvider` usable in parallel and maintains a long-lived instance in the `tableCacheValue`.
- Loading branch information
1 parent
461c46d
commit 424d46d
Showing
1 changed file
with
70 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters