airborne12 commented on code in PR #37564: URL: https://github.com/apache/doris/pull/37564#discussion_r1675511435
########## be/src/olap/compaction.cpp: ########## @@ -654,16 +658,31 @@ Status Compaction::do_inverted_index_compaction() { if (st.ok()) { auto index_not_need_to_compact = DORIS_TRY(inverted_index_file_reader->get_all_directories()); + // V1: each index is a separate file + // V2: all indexes are in a single file + if (_cur_tablet_schema->get_inverted_index_storage_format() == Review Comment: if (_cur_tablet_schema->get_inverted_index_storage_format() != V1 -- 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