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


##########
be/src/olap/snapshot_manager.cpp:
##########
@@ -700,8 +700,10 @@ Status SnapshotManager::_create_snapshot_files(const 
TabletSharedPtr& ref_tablet
                     InvertedIndexStorageFormatPB::V1) {
                     for (const auto& index : tablet_schema.inverted_indexes()) 
{
                         auto index_id = index->index_id();
-                        auto index_file = 
ref_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:
   ok



-- 
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