mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Return early when skip load pk index (#39762)
Previous PR #39437 only print log and add index while load operation is still executed. This PR return early when segment decides not to load PK index. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
78b2d205af
commit
b2d6dbf836
@ -1033,6 +1033,7 @@ func (s *LocalSegment) LoadIndex(ctx context.Context, indexInfo *querypb.FieldIn
|
||||
IndexInfo: indexInfo,
|
||||
IsLoaded: true,
|
||||
})
|
||||
return nil
|
||||
}
|
||||
|
||||
return s.innerLoadIndex(ctx, fieldSchema, indexInfo, tr, fieldType)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user