airborne12 commented on code in PR #42280:
URL: https://github.com/apache/doris/pull/42280#discussion_r1812038895
##########
be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:
##########
@@ -282,6 +282,10 @@ int64_t InvertedIndexFileWriter::write_v1() {
ram_dir.deleteFile(idx_name.c_str());
ram_dir.close();
+ if (is_index_compaction &&
config::dual_write_inverted_index_enable) {
Review Comment:
DO NOT couple debug code with the main process logic.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]