yiguolei commented on code in PR #19251: URL: https://github.com/apache/doris/pull/19251#discussion_r1184544135
########## 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: if cur_reader != nullptr, should close it first and then set it to null? -- 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