This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit cdb2e41097826794d6f5aa80ee310e59b58edf74 Author: HHoflittlefish777 <[email protected]> AuthorDate: Sun Oct 8 22:15:37 2023 +0800 [fix](fs) fix remove error log failed (#25108) --- be/src/runtime/load_path_mgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/runtime/load_path_mgr.cpp b/be/src/runtime/load_path_mgr.cpp index c9a5f181838..c4226606d11 100644 --- a/be/src/runtime/load_path_mgr.cpp +++ b/be/src/runtime/load_path_mgr.cpp @@ -172,7 +172,7 @@ void LoadPathMgr::process_path(time_t now, const std::string& path, int64_t rese return; } LOG(INFO) << "Going to remove path. path=" << path; - Status status = io::global_local_filesystem()->delete_directory(path); + Status status = io::global_local_filesystem()->delete_directory_or_file(path); if (status.ok()) { LOG(INFO) << "Remove path success. path=" << path; } else { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
