eldenmoon commented on code in PR #49232: URL: https://github.com/apache/doris/pull/49232#discussion_r2015874138
########## be/src/olap/rowset/rowset_writer.h: ########## @@ -107,10 +108,12 @@ class RowsetWriter { } std::string segment_prefix {InvertedIndexDescriptor::get_index_file_path_prefix( _context.segment_path(segment_id))}; + bool can_use_ram_dir = _context.compaction_type == ReaderType::READER_BASE_COMPACTION && + config::inverted_index_ram_dir_enable_when_compaction; Review Comment: when config::inverted_index_ram_dir_enable_when_compaction is false then can_use_ram_dir always false this will ignore compaction_type? -- 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