yiguolei commented on code in PR #47783: URL: https://github.com/apache/doris/pull/47783#discussion_r1956200283
########## be/src/vec/exec/scan/scanner_context.cpp: ########## @@ -500,6 +508,11 @@ int32_t ScannerContext::_get_margin(std::unique_lock<std::mutex>& transfer_lock, Status ScannerContext::_schedule_scan_task(std::shared_ptr<ScanTask> current_scan_task, std::unique_lock<std::mutex>& transfer_lock, std::unique_lock<std::shared_mutex>& scheduler_lock) { + if (current_scan_task && + (!current_scan_task->cached_blocks.empty() || current_scan_task->is_eos())) { + throw doris::Exception(ErrorCode::INTERNAL_ERROR, "Scanner schduler logical error."); Review Comment: typo error -- 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