Gabriel39 commented on code in PR #54276:
URL: https://github.com/apache/doris/pull/54276#discussion_r2283927083
##########
be/src/cloud/cloud_internal_service.cpp:
##########
@@ -357,9 +357,8 @@ void
CloudInternalServiceImpl::warm_up_rowset(google::protobuf::RpcController* c
// inverted index
auto schema_ptr = rs_meta.tablet_schema();
auto idx_version = schema_ptr->get_inverted_index_storage_format();
- bool has_inverted_index = schema_ptr->has_inverted_index();
- if (has_inverted_index) {
+ if (schema_ptr->has_inverted_index() ||
schema_ptr->has_ann_index()) {
Review Comment:
If `has_inverted_index` always occurs with `has_ann_index`, we need another
function to represent we need to use a index management.
--
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]