EmmyMiao87 commented on a change in pull request #776: Add a cleaner bg thread 
to clean idle data consumer
URL: https://github.com/apache/incubator-doris/pull/776#discussion_r266853349
 
 

 ##########
 File path: be/src/runtime/routine_load/data_consumer.h
 ##########
 @@ -35,7 +36,8 @@ class DataConsumer {
     DataConsumer(StreamLoadContext* ctx):
         _init(false),
         _finished(false),
-        _cancelled(false) {
+        _cancelled(false),
+        _last_visit_time(0) {
 
 Review comment:
   The initial last_visit_time is 0 ? Will it be clean in the beginning?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to