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


##########
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:
   单个tablet get 是不会超过1秒的, 一般是多个一起加起来才会超



-- 
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