platoneko commented on code in PR #10280: URL: https://github.com/apache/doris/pull/10280#discussion_r914395465
########## be/src/agent/task_worker_pool.cpp: ########## @@ -437,6 +443,11 @@ void TaskWorkerPool::_drop_tablet_worker_thread_callback() { StorageEngine::instance()->txn_manager()->force_rollback_tablet_related_txns( dropped_tablet->data_dir()->get_meta(), drop_tablet_req.tablet_id, drop_tablet_req.schema_hash, dropped_tablet->tablet_uid()); + // We remove remote rowset directly. + // TODO(cyx): do remove in background + if (drop_tablet_req.is_drop_table_or_partition) { + dropped_tablet->remove_all_remote_rowsets(); Review Comment: We will solve this in next PR. -- 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