Cai-Yao commented on code in PR #19251:
URL: https://github.com/apache/doris/pull/19251#discussion_r1184547035

##########
be/src/olap/push_handler.cpp:
##########
@@ -382,6 +405,52 @@ void PushBrokerReader::print_profile() {
     LOG(INFO) << ss.str();
 }
 
+Status PushBrokerReader::_get_next_reader() {
+    while (true) {
+        _cur_reader.reset(nullptr);

Review Comment:
   cur_reader will in destructor to call close().



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