mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
fix: Fix bug for get segment index state (#31427)
issue: #31361 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
a63b4cedcf
commit
4dca57535f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user