From aa279db44c2da9dd383ad9f0eb22e716ee580694 Mon Sep 17 00:00:00 2001 From: congqixia Date: Thu, 28 Dec 2023 00:40:47 +0800 Subject: [PATCH] enhance: remove flushed segmentInfo in WatchChannelRequest (#29526) `WatchDmChannel` only need growing segment info, this PR removes fetch segmentInfos when fill watch dml channel request. --------- Signed-off-by: Congqi Xia --- internal/querycoordv2/task/utils.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/querycoordv2/task/utils.go b/internal/querycoordv2/task/utils.go index e895f6af5d714..23fce606b6a33 100644 --- a/internal/querycoordv2/task/utils.go +++ b/internal/querycoordv2/task/utils.go @@ -198,7 +198,6 @@ func fillSubChannelRequest( ) error { segmentIDs := typeutil.NewUniqueSet() for _, vchannel := range req.GetInfos() { - segmentIDs.Insert(vchannel.GetFlushedSegmentIds()...) segmentIDs.Insert(vchannel.GetUnflushedSegmentIds()...) }