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/22 08:32:40 UTC

[GitHub] [incubator-doris] morningman 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

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


##########
be/src/runtime/routine_load/data_consumer_pool.cpp:
##########
@@ -67,12 +67,18 @@ Status DataConsumerPool::get_consumer_grp(StreamLoadContext* ctx,
                 "PAUSE: Currently only support consumer group for Kafka data source");
     }
     DCHECK(ctx->kafka_info);
+    DCHECK(ctx->kafka_info->begin_offset.size() > 0);

Review Comment:
   `DCHECK` means it must `> 0`;
   So there should not be `consumer_num < 1`.
   
   Why the begin offset is empty? Is it normal?



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