enhance: Fix compilation error (#32797)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/32734/head^2
yihao.dai 2024-05-07 10:31:49 +08:00 committed by GitHub
parent 48fb8310ba
commit cf4db3ff4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ func (node *QueryNode) WatchDmChannels(ctx context.Context, req *querypb.WatchDm
node.manager.Segment.RemoveBy(ctx, segments.WithChannel(channel.GetChannelName()),
segments.WithType(segments.SegmentTypeGrowing))
// 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))
}
}()