[fix](fs) fix remove error log failed (#25108)
This commit is contained in:
committed by
GitHub
parent
7e9ffad933
commit
9d8b993c51
@ -171,7 +171,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 {
|
||||
|
||||
Reference in New Issue
Block a user