yiguolei commented on code in PR #52879:
URL: https://github.com/apache/doris/pull/52879#discussion_r2194367005


##########
be/src/pipeline/pipeline_task.cpp:
##########
@@ -406,11 +404,12 @@ Status PipelineTask::execute(bool* done) {
     });
     // `_wake_up_early` must be after `_wait_to_start()`
     if (_wait_to_start() || _wake_up_early) {
-        if (config::enable_prefetch_tablet) {
-            RETURN_IF_ERROR(_source->hold_tablets(_state));
-        }
         return Status::OK();
     }
+    if (!_hold_cloud_tablet && !_wake_up_early) {
+        RETURN_IF_ERROR(_source->hold_tablets(_state));

Review Comment:
   为什么要在pipelinetask 这个通用的地方去感知hold 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: [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