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 f2e41131435 branch-3.0: [Chore](status) show inner error msg when
write_file_cache_version failed #52953 (#52980)
f2e41131435 is described below
commit f2e411314353556d64c1fbdd3f23f04e5e7c74f2
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Jul 9 19:04:12 2025 +0800
branch-3.0: [Chore](status) show inner error msg when
write_file_cache_version failed #52953 (#52980)
Cherry-picked from #52953
Co-authored-by: Pxl <[email protected]>
---
be/src/io/cache/fs_file_cache_storage.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/be/src/io/cache/fs_file_cache_storage.cpp
b/be/src/io/cache/fs_file_cache_storage.cpp
index ecb594e14a2..6af81ce78b7 100644
--- a/be/src/io/cache/fs_file_cache_storage.cpp
+++ b/be/src/io/cache/fs_file_cache_storage.cpp
@@ -536,8 +536,9 @@ Status FSFileCacheStorage::upgrade_cache_dir_if_necessary()
const {
++failure_count;
}
}
- if (!write_file_cache_version().ok()) {
- return Status::InternalError("Failed to write version hints for
file cache");
+ if (auto st = write_file_cache_version(); !st.ok()) {
+ return Status::InternalError("Failed to write version hints for
file cache, err={}",
+ st.to_string());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]