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


##########
be/src/vec/exec/scan/scanner_context.cpp:
##########
@@ -284,11 +299,14 @@ Status ScannerContext::get_block_from_queue(RuntimeState* 
state, vectorized::Blo
                 }
             } else {
                 // resubmit current running scanner to read the next block
-                submit_scan_task(scan_task);
+                Status submit_status = submit_scan_task(scan_task);
+                if (!submit_status.ok()) {
+                    append_block_to_queue_locked(scan_task, l);

Review Comment:
   set process status to abnormal and return the error status



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