Commit Graph

18 Commits (8e12638f3d0d91791cf06253493b8b15827f4b6c)

Author SHA1 Message Date
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
Vaibhav Gogte f46a2a0375 Export Cache::GetCharge (#5476) 6 years ago
Siying Dong 8843129ece Move some memory related files from util/ to memory/ (#5382) 6 years ago
Siying Dong e9e0101ca4 Move test related files under util/ to test_util/ (#5377) 6 years ago
Siying Dong 0bb555630f Consolidate hash function used for non-persistent data in a new function (#5155) 6 years ago
Siying Dong 2b4d5ceb47 Remove some "using std::..." from header files. (#5113) 6 years ago
Michael Liu ca89ac2ba9 Apply modernize-use-override (2nd iteration) 6 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 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
Sagar Vemuri 72502cf227 Revert "comment out unused parameters" 8 years ago
Victor Gao 1d7048c598 comment out unused parameters 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
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. 9 years ago
Yi Wu f71fc77b7c Cache to have an option to fail Cache::Insert() when full 9 years ago
Baraa Hamodi 21e95811d1 Updated all copyright headers to the new format. 9 years ago
Aaron Feldman 18cc5018b7 Fix memory leaks in PinnedUsageTest 10 years ago
Aaron Feldman 69bb210d58 Add Cache.GetPinnedUsageUsage() 10 years ago
Aashish Pant 3db81d535a Fix memory leak in cache_test introduced in the previous commit 10 years ago
Aashish Pant 794ccfde89 Task 6532943: Rocksdb - SetCapacity() can dynamically change cache capacity if feasible 10 years ago
Igor Sugak 9405b5ef8f rocksdb: Remove #include "util/string_util.h" from util/testharness.h 10 years ago
Igor Canadi c88ff4ca76 Deprecate removeScanCountLimit in NewLRUCache 10 years ago
Igor Sugak b4b69e4f77 rocksdb: switch to gtest 10 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
Igor Canadi 4ecfbcf865 ApplyToAllCacheEntries 11 years ago
Igor Canadi 4daea66343 Turn on -Wmissing-prototypes 11 years ago
Haobo Xu 5090316f0d [RocksDB] [Performance Branch] Trivia build fix 11 years ago
kailiu b660e2d468 Expose usage info for the cache 11 years ago
Dhruba Borthakur 9cd221094c Add appropriate LICENSE and Copyright message. 11 years ago
sdong f8509653ba LRUCache to try to clean entries not referenced first. 11 years ago
Siying Dong 40a1e31fa5 Minor: Fix a lint error in cache_test.cc 11 years ago
Dhruba Borthakur a143ef9b38 Change namespace from leveldb to rocksdb 11 years ago
Dhruba Borthakur 1186192ed1 Replace include/leveldb with include/rocksdb. 11 years ago
Haobo Xu a77bc3d14c [RocksDB] Fix LRUCache Eviction problem 12 years ago
Abhishek Kona c41f1e995c Codemod NULL to nullptr 12 years ago