gavinchou commented on code in PR #51320: URL: https://github.com/apache/doris/pull/51320#discussion_r2111451319
########## be/src/pipeline/exec/olap_scan_operator.cpp: ########## @@ -472,12 +472,36 @@ Status OlapScanLocalState::hold_tablets() { tasks.emplace_back([this, sync_stats, version, i]() { auto tablet = DORIS_TRY(ExecEnv::get_tablet(_scan_ranges[i]->tablet_id, sync_stats)); + auto time_ms = sync_stats->get_remote_tablet_total_time_ns / 1000 / 1000; + if (time_ms >= config::sync_rowsets_slow_threshold_ms) { Review Comment: rowset 也是同理, 所以应该统计 RETURN_IF_ERROR(cloud::bthread_fork_join(tasks, config::init_scanner_sync_rowsets_parallelism)); 这个的耗时, 它超了 就打个日志. -- 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