[fix](memory) Add cache manager check for exist#35590
[fix](memory) Add cache manager check for exist#35590xinyiZzz merged 3 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 41505 ms |
TPC-DS: Total hot run time: 169884 ms |
ClickBench: Total hot run time: 30.59 s |
|
TeamCity be ut coverage result: |
f75e4e3 to
5ef418d
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40436 ms |
TPC-DS: Total hot run time: 168062 ms |
ClickBench: Total hot run time: 30.42 s |
|
TeamCity be ut coverage result: |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 41395 ms |
TPC-DS: Total hot run time: 172755 ms |
ClickBench: Total hot run time: 30.24 s |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40627 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 169750 ms |
ClickBench: Total hot run time: 30.58 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
Debug CacheManager::_caches unordered_map multithreaded visibility.
Fix #35590, CacheManager get CachePolicy should be used lock. Add LRUCachePolicyTrackingAllocator and LRUCachePolicyTrackingManual. tracking memory in LRUCachePolicy::insert, LRUCacheValueBase not need init mem_tracker, so not need to get CachePolicy under lock.
Fix #35590, CacheManager get CachePolicy should be used lock. Add LRUCachePolicyTrackingAllocator and LRUCachePolicyTrackingManual. tracking memory in LRUCachePolicy::insert, LRUCacheValueBase not need init mem_tracker, so not need to get CachePolicy under lock.
Debug CacheManager::_caches unordered_map multithreaded visibility.
Fix apache#35590, CacheManager get CachePolicy should be used lock. Add LRUCachePolicyTrackingAllocator and LRUCachePolicyTrackingManual. tracking memory in LRUCachePolicy::insert, LRUCacheValueBase not need init mem_tracker, so not need to get CachePolicy under lock.
Debug CacheManager::_caches unordered_map multithreaded visibility.
Fix apache#35590, CacheManager get CachePolicy should be used lock. Add LRUCachePolicyTrackingAllocator and LRUCachePolicyTrackingManual. tracking memory in LRUCachePolicy::insert, LRUCacheValueBase not need init mem_tracker, so not need to get CachePolicy under lock.
Proposed changes
Debug CacheManager::_caches unordered_map multithreaded visibility.