mirror of https://github.com/milvus-io/milvus.git
Avoid the nil point (#18925)
Signed-off-by: SimFG <bang.fu@zilliz.com> Signed-off-by: SimFG <bang.fu@zilliz.com>pull/18921/head
parent
5eb6127fc5
commit
bf2bd80986
|
@ -173,6 +173,7 @@ func (w *watchDmChannelsTask) Execute(ctx context.Context) (err error) {
|
|||
ufInfo := w.req.GetSegmentInfos()[ufInfoID]
|
||||
if ufInfo == nil {
|
||||
log.Warn("an unflushed segment is not found in segment infos", zap.Int64("segment ID", ufInfoID))
|
||||
continue
|
||||
}
|
||||
if len(ufInfo.GetBinlogs()) > 0 {
|
||||
unFlushedSegments = append(unFlushedSegments, &queryPb.SegmentLoadInfo{
|
||||
|
|
Loading…
Reference in New Issue