yiguolei commented on code in PR #21611:
URL: https://github.com/apache/doris/pull/21611#discussion_r1259841290


##########
be/src/io/fs/multi_table_pipe.h:
##########
@@ -74,7 +74,7 @@ class MultiTablePipe : public KafkaConsumerPipe {
     std::atomic<uint64_t> _unplanned_row_cnt {0}; // trigger plan request when 
exceed threshold
     std::atomic<uint64_t> _inflight_plan_cnt {0}; // how many plan fragment 
are executing?
     std::atomic<bool> _consume_finished {false};
-    std::shared_ptr<StreamLoadContext> _ctx;
+    StreamLoadContext* _ctx;

Review Comment:
   Please add comment here to explain why using raw pointer here. Or other 
people may refactor code and using shared ptr again.



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

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


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

Reply via email to