Commit Graph

44 Commits (27f3af596609f3b86af5080cc870c869e836e7f2)

Author SHA1 Message Date
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
Guido Tagliavini Ponce d976f68977 Fix assertion failure and memory leak in ClockCache. (#10430) 2 years ago
Guido Tagliavini Ponce 9d7de6517c Towards a production-quality ClockCache (#10418) 2 years ago
Guido Tagliavini Ponce 6a160e1fec Lock-free ClockCache (#10390) 2 years ago
Guido Tagliavini Ponce efdb428edc Lock-free Lookup and Release in ClockCache (#10347) 2 years ago
Guido Tagliavini Ponce 7e1b417824 Revert NewClockCache signature (#10358) 2 years ago
Guido Tagliavini Ponce 9645e66fc9 Temporarily return a LRUCache from NewClockCache (#10351) 2 years ago
Guido Tagliavini Ponce c277aeb42c Midpoint insertions in ClockCache (#10305) 2 years ago
Peter Dillinger e6c5e0ab9a Have Cache use Status::MemoryLimit (#10262) 2 years ago
Guido Tagliavini Ponce 54f678cd86 Fix CalcHashBits (#10295) 2 years ago
Guido Tagliavini Ponce 57a0e2f304 Clock cache (#10273) 2 years ago
Peter Dillinger 1aac814578 Use optimized folly DistributedMutex in LRUCache when available (#10179) 2 years ago
gitbw95 8102690a52 Update Cache::Release param from force_erase to erase_if_last_ref (#9728) 3 years ago
ehds@qq.com d95e13e9cc typo(clock_cache) fix incomplete message typo (#9638) 3 years ago
Peter Dillinger 0d9b256813 Fix unity build with SUPPORT_CLOCK_CACHE (#9309) 3 years ago
Peter Dillinger fc3a6eb74a Fix/improve 'must free heap allocations' code (#9209) 3 years ago
Peter Dillinger 4750421ece Replace most typedef with using= (#8751) 3 years ago
anand76 add68bd28a Add a stat to count secondary cache hits (#8666) 3 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
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
yetingsky 3f218074ee fix typo (#6831) 5 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 638d239507 Charge block cache for cache internal usage (#5797) 5 years ago
Siying Dong 479c566771 Add final annotations to some cache functions (#5156) 6 years ago
Michael Liu ca89ac2ba9 Apply modernize-use-override (2nd iteration) 6 years ago
David Lai 3be9b36453 comment unused parameters to turn on -Wunused-parameter flag 7 years ago
Yi Wu 685912d07f Clock cache should check if deleter is nullptr before calling it 7 years ago
Andrew Kryczka 5d68243e61 Comment out unused variables 7 years ago
Igor Sugak aba3409740 Back out "[codemod] - comment out unused parameters" 7 years ago
David Lai f4a030ce81 - comment out unused parameters 7 years ago
Siying Dong 21696ba502 Replace dynamic_cast<> 7 years ago
Sagar Vemuri 72502cf227 Revert "comment out unused parameters" 7 years ago
Victor Gao 1d7048c598 comment out unused parameters 7 years ago
Siying Dong 3c327ac2d0 Change RocksDB License 7 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
Siying Dong 2d75cd40d3 NewLRUCache() to pick number of shard bits based on capacity if not given 8 years ago
Andrew Kryczka fe395fb63d Allow incrementing refcount on cache handles 8 years ago
Yi Wu de47e2bd4d Fix ClockCache memory leak 8 years ago
Yi Wu badbff65b7 Not insert into block cache if cache is full and not holding handle 8 years ago
Yi Wu 72f8cc703c LRU cache mid-point insertion 8 years ago
Yi Wu 4cc37f59e5 Introduce ClockCache 8 years ago