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