This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c257f2a8e4 [fix](cloud) Cloud tablet cache should not be pruned 
(#51193)
2c257f2a8e4 is described below

commit 2c257f2a8e439ac3db427ccd811a7d17848a9a30
Author: Gavin Chou <ga...@selectdb.com>
AuthorDate: Sun May 25 19:16:31 2025 +0800

    [fix](cloud) Cloud tablet cache should not be pruned (#51193)
    
    Otherwise there may be severe performance issue for query associated to
    many tablets
    
    Related PR:  #28940 #42281
---
 be/src/cloud/cloud_tablet_mgr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/cloud/cloud_tablet_mgr.cpp 
b/be/src/cloud/cloud_tablet_mgr.cpp
index baaaaab9111..288ed56d24a 100644
--- a/be/src/cloud/cloud_tablet_mgr.cpp
+++ b/be/src/cloud/cloud_tablet_mgr.cpp
@@ -141,7 +141,7 @@ CloudTabletMgr::CloudTabletMgr(CloudStorageEngine& engine)
           _tablet_map(std::make_unique<TabletMap>()),
           _cache(std::make_unique<LRUCachePolicy>(
                   CachePolicy::CacheType::CLOUD_TABLET_CACHE, 
config::tablet_cache_capacity,
-                  LRUCacheType::NUMBER, 0, config::tablet_cache_shards)) {}
+                  LRUCacheType::NUMBER, 0, config::tablet_cache_shards, false 
/*enable_prune*/)) {}
 
 CloudTabletMgr::~CloudTabletMgr() = default;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to