Commit Graph

93 Commits (af292cef27cd14f35bd10f769606f2e0ea73c061)

Author SHA1 Message Date
anand76 ec9f52ece6 Fix a race in LRUCacheShard::Promote (#8717) 3 years ago
Hui Xiao 74cfe7db60 Refactor WriteBufferManager::CacheRep into CacheReservationManager (#8506) 3 years ago
anand76 f35042ca40 Add a PerfContext counter for secondary cache hits (#8685) 3 years ago
anand76 add68bd28a Add a stat to count secondary cache hits (#8666) 3 years ago
Drewryz 3b27725245 Fix a minor issue with initializing the test path (#8555) 3 years ago
Peter Dillinger df5dc73bec Don't hold DB mutex for block cache entry stat scans (#8538) 3 years ago
Peter Dillinger 5ad3227650 Work around falsely reported data race on LRUHandle::flags (#8539) 3 years ago
mrambacher 570248aeff Make SecondaryCache Customizable (#8480) 4 years ago
anand76 a0cbb69421 Fix assertion failure when releasing a handle after secondary cache lookup fails (#8470) 4 years ago
anand76 a50da404be Fix a tsan warning due to reading flags in LRUHandle without holding a mutex (#8433) 4 years ago
anand76 8ea0a2c1bd Parallelize secondary cache lookup in MultiGet (#8405) 4 years ago
Peter Dillinger 416dc7bed7 Clarify some DB::Open,OpenForReadOnly semantics (#8379) 4 years ago
Peter Dillinger d5a46c40e5 Pin CacheEntryStatsCollector to fix performance bug (#8385) 4 years ago
Zhichao Cao f44e69c64a Use DbSessionId as cache key prefix when secondary cache is enabled (#8360) 4 years ago
Peter Dillinger 2f93a3b809 Fix a major performance bug in 6.21 for cache entry stats (#8369) 4 years ago
Zhichao Cao a4405fd981 fix lru caching test and fix reference binding to null pointer (#8326) 4 years ago
Zhichao Cao 7303d02bdf Use new Insert and Lookup APIs in table reader to support secondary cache (#8315) 4 years ago
Peter Dillinger 311a544c2a Use deleters to label cache entries and collect stats (#8297) 4 years ago
anand76 13232e11d4 Allow cache_bench/db_bench to use a custom secondary cache (#8312) 4 years ago
anand76 feb06e83b2 Initial support for secondary cache in LRUCache (#8271) 4 years ago
Jay Zhuang d15fbae449 Refactor Option obj address from char* to void* (#8295) 4 years ago
Jay Zhuang a6e425dc44 Fix a minor clang release build failure (#8290) 4 years ago
Peter Dillinger 78a309bf86 New Cache API for gathering statistics (#8225) 4 years ago
Peter Dillinger 3b981eaa1d Fix use-after-free threading bug in ClockCache (#8261) 4 years ago
storagezhang 711881bc25 Fix some typos in comments (#8066) 4 years ago
storagezhang d9be6556aa Include C++ standard library headers instead of C compatibility headers (#8068) 4 years ago
mrambacher 12f1137355 Add a SystemClock class to capture the time functions of an Env (#7858) 4 years ago
Dylan Wen a65e905bbb Fix typos in comments (#7687) 4 years ago
Yanqin Jin 394210f280 Remove unused includes (#7604) 4 years ago
Levi Tamasi e8cb32ed67 Introduce BlobFileCache and add support for blob files to Get() (#7540) 4 years ago
Peter Dillinger 08552b19d3 Genericize and clean up FastRange (#7436) 4 years ago
mrambacher 7d472accdc Bring the Configurable options together (#5753) 4 years ago
mrambacher 56f468b356 Add more tests to ASSERT_STATUS_CHECKED (#7211) 4 years ago
sdong afa3518839 Revert "Update googletest from 1.8.1 to 1.10.0 (#6808)" (#6923) 5 years ago
Adam Retter 8d87e9cea1 Update googletest from 1.8.1 to 1.10.0 (#6808) 5 years ago
mrambacher 38be686160 Add Struct Type to OptionsTypeInfo (#6425) 5 years ago
yetingsky 3f218074ee fix typo (#6831) 5 years ago
mrambacher 618bf638aa Add Functions to OptionTypeInfo (#6422) 5 years ago
Peter Dillinger 249eff0f30 Stats for redundant insertions into block cache (#6681) 5 years ago
Peter Dillinger 079e77ff9e Revamp cache_bench to resemble a real workload (#6629) 5 years ago
Levi Tamasi e6f86cfb36 Revert the recent cache deleter change (#6620) 5 years ago
Levi Tamasi 6301dbe7a7 Use function objects as deleters in the block cache (#6545) 5 years ago
sdong fdf882ded2 Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 5 years ago
anand76 16fa6fd2a6 Remove key length assertion LRUHandle::CalcTotalCharge (#6115) 5 years ago
Peter Dillinger ca7ccbe2ea Misc hashing updates / upgrades (#5909) 5 years ago
sdong e8263dbdaa Apply formatter to recent 200+ commits. (#5830) 5 years ago
Maysam Yabandeh 9a87ae46fd Use total charge in MaintainPoolSize (#5813) 5 years ago
Maysam Yabandeh 638d239507 Charge block cache for cache internal usage (#5797) 5 years ago
Eli Pozniansky 74fb7f0ba5 Cleaned up and simplified LRU cache implementation (#5579) 6 years ago
sdong 15fd3be07b LRU Cache to enable mid-point insertion by default (#5508) 6 years ago