You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/27 06:05:14 UTC

[GitHub] [incubator-doris] pengxiangyu commented on a diff in pull request #9164: [Bug] Fix bug that new coming routine load tasks are rejected all the time and report TOO_MANY_TASK error

pengxiangyu commented on code in PR #9164:
URL: https://github.com/apache/incubator-doris/pull/9164#discussion_r859414107


##########
be/src/runtime/routine_load/data_consumer_pool.cpp:
##########
@@ -68,11 +68,17 @@ Status DataConsumerPool::get_consumer_grp(StreamLoadContext* ctx,
     }
     DCHECK(ctx->kafka_info);
 
+    if (ctx->kafka_info->begin_offset.size() == 0) {
+        return Status::InternalError(

Review Comment:
   This is not an error, if a pipe has not data for a long time, it will write a lot of error logs.
   Check it before call get_consumer_grp maybe better. Otherwise check return value and don't write warning log each time.



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org