airborne12 commented on code in PR #47634: URL: https://github.com/apache/doris/pull/47634#discussion_r1947547557
########## be/src/olap/rowset/segment_v2/inverted_index_file_reader.cpp: ########## @@ -232,15 +221,20 @@ Result<std::unique_ptr<DorisCompoundReader>> InvertedIndexFileReader::_open( // Need to clone resource here, because index searcher cache need it. compound_reader = std::make_unique<DorisCompoundReader>( _stream->clone(), index_it->second.get(), _read_buffer_size); + + // After stream clone, the io_ctx needs to be reconfigured. + auto* stream = compound_reader->getDorisIndexInput(); Review Comment: move it into DorisCompoundReader contruction function -- 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