Commit Graph

58 Commits (616f3bd02ec42cb909ac83c2e8ce82697ca36699)

Author SHA1 Message Date
Gang Liao 275cd80cdb Add a blob-specific cache priority (#10461) 2 years ago
Bo Wang f28d0c2020 Fix data race reported on SetIsInSecondaryCache in LRUCache (#10472) 2 years ago
anand76 54aebb2cc5 Fix cache metrics update when secondary cache is used (#10440) 2 years ago
Peter Dillinger 65036e4217 Revert "Add a blob-specific cache priority (#10309)" (#10434) 2 years ago
Gang Liao 8d178090be Add a blob-specific cache priority (#10309) 2 years ago
Gang Liao 95ef007adc Support using secondary cache with the blob cache (#10349) 2 years ago
Bo Wang 86c2d0a95d Add the secondary cache information into LRUCache:: GetPrintableOptions (#10346) 2 years ago
Peter Dillinger e6c5e0ab9a Have Cache use Status::MemoryLimit (#10262) 2 years ago
Peter Dillinger 1aac814578 Use optimized folly DistributedMutex in LRUCache when available (#10179) 3 years ago
sdong c78a87cd71 Avoid malloc_usable_size() call inside LRU Cache mutex (#10026) 3 years ago
Peter Dillinger bb87164db3 Fork and simplify LRUCache for developing enhancements (#9917) 3 years ago
gitbw95 f241d082b6 Prevent double caching in the compressed secondary cache (#9747) 3 years ago
Bo Wang bcabee737f Improve comments for some files (#9793) 3 years ago
gitbw95 8102690a52 Update Cache::Release param from force_erase to erase_if_last_ref (#9728) 3 years ago
Peter Dillinger fc3a6eb74a Fix/improve 'must free heap allocations' code (#9209) 3 years ago
anand76 ec9f52ece6 Fix a race in LRUCacheShard::Promote (#8717) 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
Peter Dillinger 5ad3227650 Work around falsely reported data race on LRUHandle::flags (#8539) 3 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 311a544c2a Use deleters to label cache entries and collect stats (#8297) 4 years ago
anand76 feb06e83b2 Initial support for secondary cache in LRUCache (#8271) 4 years ago
Peter Dillinger 78a309bf86 New Cache API for gathering statistics (#8225) 4 years ago
storagezhang d9be6556aa Include C++ standard library headers instead of C compatibility headers (#8068) 4 years ago
Yanqin Jin 394210f280 Remove unused includes (#7604) 4 years ago
Peter Dillinger 249eff0f30 Stats for redundant insertions into block cache (#6681) 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
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
Zhongyi Xie d68f9f4580 simplify include directive involving inttypes (#5402) 6 years ago
Levi Tamasi 34f8ac0c99 Make adaptivity of LRU cache mutexes configurable (#5054) 6 years ago
Yi Wu 05d9d82181 Revert "Move MemoryAllocator option from Cache to BlockBasedTableOpti… (#4697) 6 years ago
Yi Wu b32d087dbb Move MemoryAllocator option from Cache to BlockBasedTableOptions (#4676) 6 years ago
Yi Wu f560c8f5c8 s/CacheAllocator/MemoryAllocator/g (#4590) 6 years ago
Igor Canadi 1cf5deb8fd Introduce CacheAllocator, a custom allocator for cache blocks (#4437) 6 years ago
Yanqin Jin 26d67e357e Support group commits of version edits (#3944) 7 years ago
Taewook Oh b557499eee Suppress leak warning for clang(LLVM) asan (#4066) 7 years ago
Yi Wu 724855c7da Fix LRUCache missing null check on destruct 7 years ago
Yi Wu bc7e8d472e LRUCache midpoint insertion 7 years ago
Yi Wu 7a99c04311 refactor constructor of LRUCacheShard 7 years ago
Phani Shekhar Mantripragada 4b65cfc723 Support for block_cache num_shards and other config via option string. 7 years ago
Prashant D d9240b548c Fix coverity uninitialized fields warnings in lru_cache 7 years ago
raistlin ee2b1ec1e8 Fix unstable floating point exception 7 years ago
Dmitri Smirnov 0ec90a7cc2 Add -DPORTABLE=1 to MSVC CI build 7 years ago
Yi Wu e83d6a02e3 Not using aligned_alloc with gcc4 + asan 7 years ago