csun5285 commented on code in PR #37564: URL: https://github.com/apache/doris/pull/37564#discussion_r1672404409
########## be/src/olap/compaction.cpp: ########## @@ -642,6 +642,9 @@ Status Compaction::do_inverted_index_compaction() { // format: rowsetId_segmentId std::vector<std::unique_ptr<InvertedIndexFileWriter>> inverted_index_file_writers( dest_segment_num); + + // Some columns have already been indexed + std::vector<int64_t> compacted_idx_file_size(dest_segment_num, 0); Review Comment: `compacted_idx_file_size[i]` corresponds to `inverted_index_file_writers[i]` -- 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