airborne12 commented on code in PR #44994:
URL: https://github.com/apache/doris/pull/44994#discussion_r1877486298


##########
be/src/olap/task/engine_storage_migration_task.cpp:
##########
@@ -409,8 +409,9 @@ Status 
EngineStorageMigrationTask::_copy_index_and_data_files(
                 InvertedIndexStorageFormatPB::V1) {
                 for (const auto& index : tablet_schema.inverted_indexes()) {
                     auto index_id = index->index_id();
-                    auto index_file =
-                            _tablet->get_segment_index_filepath(rowset_id, 
segment_index, index_id);
+                    auto index_file = 
InvertedIndexDescriptor::get_index_file_path_v1(
+                            
InvertedIndexDescriptor::get_index_file_path_prefix(segment_file_path),
+                            index_id, "");

Review Comment:
   use index suffix instead of "", although we disable variant index for v1



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to