dataroaring commented on code in PR #50326: URL: https://github.com/apache/doris/pull/50326#discussion_r2057218272
########## be/src/olap/rowset/segment_v2/segment.h: ########## @@ -311,6 +313,7 @@ class Segment : public std::enable_shared_from_this<Segment>, public MetadataAdd InvertedIndexFileInfo _idx_file_info; int _be_exec_version = BeExecVersionManager::get_newest_version(); + OlapReaderStatistics* read_stats = nullptr; Review Comment: Please do not use raw pointer, BTW the pointer is not reset after used. -- 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