Commit Graph

34 Commits (5576ded7625419fa43f5126d5679825e029e78ed)

Author SHA1 Message Date
anand76 add68bd28a Add a stat to count secondary cache hits (#8666) 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
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 711881bc25 Fix some typos in comments (#8066) 4 years ago
Dylan Wen a65e905bbb Fix typos in comments (#7687) 4 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
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
Siying Dong 479c566771 Add final annotations to some cache functions (#5156) 6 years ago
Levi Tamasi 34f8ac0c99 Make adaptivity of LRU cache mutexes configurable (#5054) 6 years ago
Levi Tamasi f83eecff99 Introduce an enum for flag types in LRUHandle (#5024) 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
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
Agam Brahma c3401846ef Minor typo in comment (s/pro/pri) 7 years ago
Phani Shekhar Mantripragada 4b65cfc723 Support for block_cache num_shards and other config via option string. 7 years ago
yiwu-arbug e367774d19 Overload new[] to properly align LRUCacheShard 7 years ago
Daniel Black 16e0388205 LRUCacheShard cache line size alignment 8 years ago
Sushma Devendrappa 0655b58582 enable PinnableSlice for RowCache 8 years ago
Siying Dong 3c327ac2d0 Change RocksDB License 8 years ago
Siying Dong d616ebea23 Add GPLv2 as an alternative license. 8 years ago
Maysam Yabandeh 4c9447d889 Add erase option to release cache 8 years ago
Siying Dong d2dce5611a Move some files under util/ to separate dirs 8 years ago
Andrew Kryczka fe395fb63d Allow incrementing refcount on cache handles 8 years ago
Yi Wu ab48c165a9 Print cache options to info log 8 years ago
Yi Wu 4a16c32ece Option to cache index/filter blocks with priority 8 years ago
Yi Wu 72f8cc703c LRU cache mid-point insertion 8 years ago
Yi Wu 2a2ebb6f5e Move LRUCache structs to lru_cache.h header 8 years ago