pengxiangyu commented on a change in pull request #8663:
URL: https://github.com/apache/incubator-doris/pull/8663#discussion_r838148387



##########
File path: be/src/olap/data_dir.cpp
##########
@@ -712,7 +690,7 @@ void DataDir::perform_path_scan() {
 }
 
 void DataDir::_process_garbage_path(const std::string& path) {
-    if (_env->path_exists(path).ok()) {
+    if (Env::Default()->path_exists(path).ok()) {

Review comment:
       This function is called for rowset_id path, only local rowset_id_path 
can be garbage.
   remote path is uploaded, moved or deleted by tablet_id,
   if local path has no remote path params, remote path doesn't exist.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to