Commit Graph

101 Commits (312d9c47b4ca08ad65602006677a8f8a6d0f1f91)

Author SHA1 Message Date
Hui Xiao 560fe70233 Add new API CacheReservationManager::GetDummyEntrySize() (#9072) 3 years ago
Zhichao Cao 6d93b87588 Add lowest_used_cache_tier to ImmutableDBOptions to enable or disable Secondary Cache (#9050) 3 years ago
Zhichao Cao 699f45049d Introduce a mechanism to dump out blocks from block cache and re-insert to secondary cache (#8912) 3 years ago
Peter Dillinger bda8d93ba9 Fix and detect headers with missing dependencies (#8893) 3 years ago
Hui Xiao 0aad4ca0ff Add comment for new_memory_used parameter in CacheReservationManager::UpdateCacheReservation (#8895) 3 years ago
Hui Xiao 91b95cadee Account for dictionary-building buffer in global memory limit (#8428) 3 years ago
Peter Dillinger cb5b851ff8 Add (& fix) some simple source code checks (#8821) 3 years ago
Peter Dillinger 4750421ece Replace most typedef with using= (#8751) 3 years ago
anand76 ec9f52ece6 Fix a race in LRUCacheShard::Promote (#8717) 3 years ago
Hui Xiao 74cfe7db60 Refactor WriteBufferManager::CacheRep into CacheReservationManager (#8506) 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
Drewryz 3b27725245 Fix a minor issue with initializing the test path (#8555) 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
mrambacher 570248aeff Make SecondaryCache Customizable (#8480) 4 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 416dc7bed7 Clarify some DB::Open,OpenForReadOnly semantics (#8379) 4 years ago
Peter Dillinger d5a46c40e5 Pin CacheEntryStatsCollector to fix performance bug (#8385) 4 years ago
Zhichao Cao f44e69c64a Use DbSessionId as cache key prefix when secondary cache is enabled (#8360) 4 years ago
Peter Dillinger 2f93a3b809 Fix a major performance bug in 6.21 for cache entry stats (#8369) 4 years ago
Zhichao Cao a4405fd981 fix lru caching test and fix reference binding to null pointer (#8326) 4 years ago
Zhichao Cao 7303d02bdf Use new Insert and Lookup APIs in table reader to support secondary cache (#8315) 4 years ago
Peter Dillinger 311a544c2a Use deleters to label cache entries and collect stats (#8297) 4 years ago
anand76 13232e11d4 Allow cache_bench/db_bench to use a custom secondary cache (#8312) 4 years ago
anand76 feb06e83b2 Initial support for secondary cache in LRUCache (#8271) 4 years ago
Jay Zhuang d15fbae449 Refactor Option obj address from char* to void* (#8295) 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
storagezhang 711881bc25 Fix some typos in comments (#8066) 4 years ago
storagezhang d9be6556aa Include C++ standard library headers instead of C compatibility headers (#8068) 4 years ago
mrambacher 12f1137355 Add a SystemClock class to capture the time functions of an Env (#7858) 4 years ago
Dylan Wen a65e905bbb Fix typos in comments (#7687) 4 years ago
Yanqin Jin 394210f280 Remove unused includes (#7604) 4 years ago
Levi Tamasi e8cb32ed67 Introduce BlobFileCache and add support for blob files to Get() (#7540) 4 years ago
Peter Dillinger 08552b19d3 Genericize and clean up FastRange (#7436) 4 years ago
mrambacher 7d472accdc Bring the Configurable options together (#5753) 4 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) 5 years ago
Adam Retter 8d87e9cea1 Update googletest from 1.8.1 to 1.10.0 (#6808) 5 years ago
mrambacher 38be686160 Add Struct Type to OptionsTypeInfo (#6425) 5 years ago
yetingsky 3f218074ee fix typo (#6831) 5 years ago
mrambacher 618bf638aa Add Functions to OptionTypeInfo (#6422) 5 years ago
Peter Dillinger 249eff0f30 Stats for redundant insertions into block cache (#6681) 5 years ago
Peter Dillinger 079e77ff9e Revamp cache_bench to resemble a real workload (#6629) 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