-
Notifications
You must be signed in to change notification settings - Fork 465
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
9f68a21
commit 4a53cdf
Showing
3 changed files
with
80 additions
and
45 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
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
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