mirror of https://github.com/milvus-io/milvus.git
enhance: Fix compilation error (#32797)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/32734/head^2
parent
48fb8310ba
commit
cf4db3ff4e
|
@ -299,7 +299,7 @@ func (node *QueryNode) WatchDmChannels(ctx context.Context, req *querypb.WatchDm
|
||||||
node.manager.Segment.RemoveBy(ctx, segments.WithChannel(channel.GetChannelName()),
|
node.manager.Segment.RemoveBy(ctx, segments.WithChannel(channel.GetChannelName()),
|
||||||
segments.WithType(segments.SegmentTypeGrowing))
|
segments.WithType(segments.SegmentTypeGrowing))
|
||||||
// remove legacy l0 segments
|
// remove legacy l0 segments
|
||||||
node.manager.Segment.RemoveBy(segments.WithChannel(channel.GetChannelName()),
|
node.manager.Segment.RemoveBy(ctx, segments.WithChannel(channel.GetChannelName()),
|
||||||
segments.WithLevel(datapb.SegmentLevel_L0))
|
segments.WithLevel(datapb.SegmentLevel_L0))
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue