Commit Graph

29 Commits (76383bea5df1136c95babf5f9f40b24f85e9ad8e)

Author SHA1 Message Date
Peter Dillinger fc3a6eb74a Fix/improve 'must free heap allocations' code (#9209) 3 years ago
Peter Dillinger 311a544c2a Use deleters to label cache entries and collect stats (#8297) 3 years ago
Peter Dillinger 78a309bf86 New Cache API for gathering statistics (#8225) 3 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) 4 years ago
Adam Retter 8d87e9cea1 Update googletest from 1.8.1 to 1.10.0 (#6808) 4 years ago
Levi Tamasi e6f86cfb36 Revert the recent cache deleter change (#6620) 4 years ago
Levi Tamasi 6301dbe7a7 Use function objects as deleters in the block cache (#6545) 4 years ago
sdong fdf882ded2 Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 4 years ago
Peter Dillinger ca7ccbe2ea Misc hashing updates / upgrades (#5909) 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) 5 years ago
sdong 15fd3be07b LRU Cache to enable mid-point insertion by default (#5508) 5 years ago
Vaibhav Gogte f46a2a0375 Export Cache::GetCharge (#5476) 5 years ago
Siying Dong 8843129ece Move some memory related files from util/ to memory/ (#5382) 5 years ago
Siying Dong e9e0101ca4 Move test related files under util/ to test_util/ (#5377) 5 years ago
Siying Dong 0bb555630f Consolidate hash function used for non-persistent data in a new function (#5155) 5 years ago
Siying Dong 2b4d5ceb47 Remove some "using std::..." from header files. (#5113) 5 years ago
Michael Liu ca89ac2ba9 Apply modernize-use-override (2nd iteration) 5 years ago
Sagar Vemuri dc3528077a Update all unique/shared_ptr instances to be qualified with namespace std (#4638) 6 years ago
Andrew Kryczka 5d68243e61 Comment out unused variables 6 years ago
Igor Sugak aba3409740 Back out "[codemod] - comment out unused parameters" 6 years ago
David Lai f4a030ce81 - comment out unused parameters 6 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. 7 years ago
Maysam Yabandeh 4c9447d889 Add erase option to release cache 7 years ago
Siying Dong d2dce5611a Move some files under util/ to separate dirs 7 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 7541c7a79e Fix cache_test valgrind_check failure 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
Aaron Orenstein 2073cf3775 Eliminate use of 'using namespace std'. Also remove a number of ADL references to std functions. 8 years ago
Yi Wu f71fc77b7c Cache to have an option to fail Cache::Insert() when full 8 years ago
Baraa Hamodi 21e95811d1 Updated all copyright headers to the new format. 9 years ago
Aaron Feldman 18cc5018b7 Fix memory leaks in PinnedUsageTest 9 years ago
Aaron Feldman 69bb210d58 Add Cache.GetPinnedUsageUsage() 9 years ago
Aashish Pant 3db81d535a Fix memory leak in cache_test introduced in the previous commit 9 years ago
Aashish Pant 794ccfde89 Task 6532943: Rocksdb - SetCapacity() can dynamically change cache capacity if feasible 9 years ago
Igor Sugak 9405b5ef8f rocksdb: Remove #include "util/string_util.h" from util/testharness.h 9 years ago
Igor Canadi c88ff4ca76 Deprecate removeScanCountLimit in NewLRUCache 9 years ago
Igor Sugak b4b69e4f77 rocksdb: switch to gtest 9 years ago
Yueh-Hsuan Chiang 74b3fb6d97 Fix Mac compile errors on util/cache_test.cc 10 years ago
Alexey Maykov ee95cae9a4 Modifed the LRU cache eviction code so that it doesn't evict blocks which have exteranl references 10 years ago
Yueh-Hsuan Chiang 13de000f07 Add rocksdb::ToString() to address cases where std::to_string is not available. 10 years ago
Igor Canadi 767777c2bd Turn on -Wshorten-64-to-32 and fix all the errors 10 years ago
Danny Al-Gaaf bf3bfd0448 util/cache_test.cc: use static_cast over C-Style cast 10 years ago