yujun777 commented on code in PR #34889: URL: https://github.com/apache/doris/pull/34889#discussion_r1625398468
########## be/src/olap/tablet_manager.cpp: ########## @@ -1249,10 +1332,11 @@ void TabletManager::try_delete_unused_tablet_path(DataDir* data_dir, TTabletId t return; } - if (shard.tablets_under_clone.count(tablet_id) > 0) { - LOG(INFO) << "tablet is under clone, skip delete the path " << schema_hash_path; + bool succ = register_transition_tablet(tablet_id, "path gc"); Review Comment: at line 1330 is not right. even if tablet meta is exists, this data dir may be unused because its path's shard id is different with exists tablets. -- 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