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 77c6b81ef28 branch-3.0: [fix](file-cache) Clear file cache when tablet
meta not found in ms #48318 (#48437)
77c6b81ef28 is described below
commit 77c6b81ef285b6183d83e2571e2806454d471fbb
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Mar 10 12:15:53 2025 +0800
branch-3.0: [fix](file-cache) Clear file cache when tablet meta not found
in ms #48318 (#48437)
Cherry-picked from #48318
Co-authored-by: Siyang Tang <[email protected]>
---
be/src/cloud/cloud_tablet.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/cloud/cloud_tablet.cpp b/be/src/cloud/cloud_tablet.cpp
index 333fd281f13..2c92da574ff 100644
--- a/be/src/cloud/cloud_tablet.cpp
+++ b/be/src/cloud/cloud_tablet.cpp
@@ -899,7 +899,7 @@ Status CloudTablet::sync_meta() {
auto st = _engine.meta_mgr().get_tablet_meta(tablet_id(), &tablet_meta);
if (!st.ok()) {
if (st.is<ErrorCode::NOT_FOUND>()) {
- // TODO(Lchangliang): recycle_resources_by_self();
+ clear_cache();
}
return st;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]