github-actions[bot] commented on code in PR #17874:
URL: https://github.com/apache/doris/pull/17874#discussion_r1141595499
##########
be/src/olap/rowset/segcompaction.cpp:
##########
@@ -107,6 +109,19 @@ Status
SegcompactionWorker::_delete_original_segments(uint32_t begin, uint32_t e
// message when we encounter an error.
RETURN_NOT_OK_LOG(fs->delete_file(seg_path),
strings::Substitute("Failed to delete file=$0",
seg_path));
+ // Delete inverted index files
+ for (auto column : schema->columns()) {
+ if (schema->has_inverted_index(column.unique_id())) {
+ auto index_id =
schema->get_inverted_index(column.unique_id())->index_id();
+ auto idx_path =
BetaRowset::inverted_index_file_path(ctx.rowset_dir, ctx.rowset_id,
Review Comment:
warning: no member named 'inverted_index_file_path' in 'doris::BetaRowset'
[clang-diagnostic-error]
```cpp
auto idx_path =
BetaRowset::inverted_index_file_path(ctx.rowset_dir, ctx.rowset_id,
^
```
--
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]