morningman commented on a change in pull request #1166: Fix bug that routine load task may be blocked due to premature deconstruction URL: https://github.com/apache/incubator-doris/pull/1166#discussion_r284560064
########## File path: be/src/runtime/routine_load/routine_load_task_executor.cpp ########## @@ -41,6 +41,11 @@ Status RoutineLoadTaskExecutor::submit_task(const TRoutineLoadTask& task) { return Status::OK; } + if (_thread_pool.get_queue_size() > 100) { + LOG(INFO) << "too much task in queue: " << _thread_pool.get_queue_size() << ", reject task: " << UniqueId(task.id); Review comment: ```suggestion LOG(INFO) << "too many tasks in queue: " << _thread_pool.get_queue_size() << ", reject task: " << UniqueId(task.id); ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org