mirror of https://github.com/milvus-io/milvus.git
fix querynode panic in get distribution (#25405)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/25293/head
parent
f07c934558
commit
a47fc28023
|
@ -1213,6 +1213,7 @@ func (node *QueryNode) GetDataDistribution(ctx context.Context, req *querypb.Get
|
|||
if segment == nil {
|
||||
log.Warn("leader view growing not found", zap.String("channel", key), zap.Int64("segmentID", entry.SegmentID))
|
||||
growingSegments[entry.SegmentID] = &msgpb.MsgPosition{}
|
||||
continue
|
||||
}
|
||||
growingSegments[entry.SegmentID] = segment.StartPosition()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue