fix: Fix bug for get segment index state (#31428)

issue: #31361 
master pr: #31427

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
pull/31446/head
cai.zhang 2024-03-20 13:01:13 +08:00 committed by GitHub
parent 19d649f0b7
commit 7f201e803c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ func (m *indexMeta) getSegmentsIndexStates(collectionID UniqueID, segmentIDs []U
ret[segID] = make(map[int64]*indexpb.SegmentIndexState)
segIndexInfos, ok := m.segmentIndexes[segID]
if !ok || len(segIndexInfos) == 0 {
return ret
continue
}
for _, segIdx := range segIndexInfos {