forked from facebook/rocksdb
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
table_cache: Generate SST file cache key based on db instance, file n…
…umber Currently on POSIX, the cache key prefix for SST files is generated from the inode number and its generation number, which is less unique on some OSes/FSes than others. This change sets that key prefix based on a passed in unique ID, which is composed of a table-cache-specific ID plus the SST number. This should resolve issues around cache collisions between two different SS tables that happened to have the same generation number. Backported from 19.2 release branch (crl-release-6.2.1): #61
- Loading branch information
Showing
8 changed files
with
191 additions
and
318 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
Oops, something went wrong.