mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Improve log for QueryNode spell (#13811)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/13817/head
parent
9f66b35d1f
commit
852f078d09
|
@ -579,7 +579,7 @@ func (colReplica *collectionReplica) getSegmentByID(segmentID UniqueID) (*Segmen
|
||||||
func (colReplica *collectionReplica) getSegmentByIDPrivate(segmentID UniqueID) (*Segment, error) {
|
func (colReplica *collectionReplica) getSegmentByIDPrivate(segmentID UniqueID) (*Segment, error) {
|
||||||
segment, ok := colReplica.segments[segmentID]
|
segment, ok := colReplica.segments[segmentID]
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil, errors.New("cannot find segment in query node, id = " + strconv.FormatInt(segmentID, 10))
|
return nil, errors.New("cannot find segment in QueryNode, id = " + strconv.FormatInt(segmentID, 10))
|
||||||
}
|
}
|
||||||
|
|
||||||
return segment, nil
|
return segment, nil
|
||||||
|
|
Loading…
Reference in New Issue