csun5285 commented on code in PR #41625:
URL: https://github.com/apache/doris/pull/41625#discussion_r1820378484
##########
be/src/olap/rowset/segment_v2/inverted_index_file_writer.cpp:
##########
@@ -370,14 +372,10 @@ int64_t InvertedIndexFileWriter::write_v2() {
out_dir->set_file_writer_opts(_opts);
std::unique_ptr<lucene::store::IndexOutput> compound_file_output;
- // idx v2 writer != nullptr means memtable on sink node now
- if (_idx_v2_writer != nullptr) {
- compound_file_output = std::unique_ptr<lucene::store::IndexOutput>(
- out_dir->createOutputV2(_idx_v2_writer.get()));
- } else {
Review Comment:
`memtable_on_sink_node = true`, a sink file writer is created and passed to
the inverted index file writer.
--
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]