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


##########
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:
   之前不是遇到过这里加起来的时间是几分钟?这个threashold可以配置



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to