This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 7b75be8fc96 branch-3.0: [fix](cloud) Cloud tablet cache should not be
pruned #51193 (#51215)
7b75be8fc96 is described below
commit 7b75be8fc9692f3aa84ad490007a1b97b6f8d09a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon May 26 09:53:41 2025 +0800
branch-3.0: [fix](cloud) Cloud tablet cache should not be pruned #51193
(#51215)
Cherry-picked from #51193
Co-authored-by: Gavin Chou <[email protected]>
---
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 4fcf5fed2f3..2f7fb2f83b6 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: [email protected]
For additional commands, e-mail: [email protected]