mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
[skip e2e]Improve log for QueryNode spell (#13810)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
0cd43640e4
commit
9d1f6d97e1
@ -357,12 +357,12 @@ func (colReplica *collectionReplica) getSegmentInfosByColID(collectionID UniqueI
|
||||
for _, partitionID := range collection.partitionIDs {
|
||||
partition, ok := colReplica.partitions[partitionID]
|
||||
if !ok {
|
||||
return nil, errors.New("the meta of collection and partition are inconsistent in query node")
|
||||
return nil, errors.New("the meta of collection and partition are inconsistent in QueryNode")
|
||||
}
|
||||
for _, segmentID := range partition.segmentIDs {
|
||||
segment, ok := colReplica.segments[segmentID]
|
||||
if !ok {
|
||||
return nil, errors.New("the meta of partition and segment are inconsistent in query node")
|
||||
return nil, errors.New("the meta of partition and segment are inconsistent in QueryNode")
|
||||
}
|
||||
segmentInfo := getSegmentInfo(segment)
|
||||
segmentInfos = append(segmentInfos, segmentInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user