gavinchou commented on code in PR #46393:
URL: https://github.com/apache/doris/pull/46393#discussion_r1901760555


##########
cloud/src/recycler/hdfs_accessor.cpp:
##########
@@ -357,7 +400,15 @@ int HdfsAccessor::delete_prefix(const std::string& 
path_prefix, int64_t expirati
     auto uri = to_uri(path_prefix);
     LOG(INFO) << "delete prefix, uri=" << uri;
     std::unique_ptr<ListIterator> list_iter;
-    int ret = list_all(&list_iter);
+    auto tablet_path = extract_tablet_path(path_prefix);

Review Comment:
   list prefix first, if not match, backoff to list the parent folder to match 
the prefix



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to