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 df504139b8b branch-3.0: [fix](cloud) remove unnecessary DCHECK existence when delete file cache directory #50049 (#50258) df504139b8b is described below commit df504139b8be8deca8a6099a470271180ecfc070 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 23 17:23:27 2025 +0800 branch-3.0: [fix](cloud) remove unnecessary DCHECK existence when delete file cache directory #50049 (#50258) Cherry-picked from #50049 Co-authored-by: zhengyu <zhangzhen...@selectdb.com> --- be/src/io/cache/fs_file_cache_storage.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/be/src/io/cache/fs_file_cache_storage.cpp b/be/src/io/cache/fs_file_cache_storage.cpp index 9e24970d8b3..01900fbd2a5 100644 --- a/be/src/io/cache/fs_file_cache_storage.cpp +++ b/be/src/io/cache/fs_file_cache_storage.cpp @@ -217,7 +217,6 @@ Status FSFileCacheStorage::remove(const FileCacheKey& key) { std::vector<FileInfo> files; bool exists {false}; RETURN_IF_ERROR(fs->list(dir, true, &files, &exists)); - DCHECK(exists); if (files.empty()) { RETURN_IF_ERROR(fs->delete_directory(dir)); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org