This is an automated email from the ASF dual-hosted git repository.

liaoxin pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 1a30b1396c9 [fix](routine load) reduce routine load task consume log 
(#42058) (#42293)
1a30b1396c9 is described below

commit 1a30b1396c912be053eefef41e6d78ff7be01f14
Author: hui lai <[email protected]>
AuthorDate: Wed Oct 23 09:49:36 2024 +0800

    [fix](routine load) reduce routine load task consume log (#42058) (#42293)
    
    pick (#42058)
    
    There is too much routine load task log, five million logs were
    generated in 10 minutes.
    
    ```
    grep 'consumer meet partition eof' be.INFO.log.20240930-164533 | wc -l
    5369624
    ```
---
 be/src/runtime/routine_load/data_consumer.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/be/src/runtime/routine_load/data_consumer.cpp 
b/be/src/runtime/routine_load/data_consumer.cpp
index 92840721581..b6272a92056 100644
--- a/be/src/runtime/routine_load/data_consumer.cpp
+++ b/be/src/runtime/routine_load/data_consumer.cpp
@@ -261,12 +261,13 @@ Status 
KafkaDataConsumer::group_consume(BlockingQueue<RdKafka::Message*>* queue,
             }
             [[fallthrough]];
         case RdKafka::ERR__PARTITION_EOF: {
-            LOG(INFO) << "consumer meet partition eof: " << _id
-                      << " partition offset: " << msg->offset();
+            VLOG_NOTICE << "consumer meet partition eof: " << _id
+                        << " partition offset: " << msg->offset();
             _consuming_partition_ids.erase(msg->partition());
             if (!queue->blocking_put(msg.get())) {
                 done = true;
             } else if (_consuming_partition_ids.size() <= 0) {
+                LOG(INFO) << "all partitions meet eof: " << _id;
                 msg.release();
                 done = true;
             } else {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to