qidaye commented on code in PR #29676:
URL: https://github.com/apache/doris/pull/29676#discussion_r1444507337
##########
be/src/olap/rowset/segment_v2/inverted_index_writer.cpp:
##########
@@ -126,6 +126,12 @@ class InvertedIndexColumnWriterImpl : public
InvertedIndexColumnWriter {
}
}
+ void close_on_error() override {
+ if (_index_writer) {
+ _index_writer->close();
Review Comment:
`close()` will write idx file and temporary directory. These files should be
deleted too.
--
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]