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 <congqi.xia@zilliz.com>
pull/29525/head
congqixia 2023-12-28 00:40:47 +08:00 committed by GitHub
parent e53a1aaf57
commit aa279db44c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -198,7 +198,6 @@ func fillSubChannelRequest(
) error {
segmentIDs := typeutil.NewUniqueSet()
for _, vchannel := range req.GetInfos() {
segmentIDs.Insert(vchannel.GetFlushedSegmentIds()...)
segmentIDs.Insert(vchannel.GetUnflushedSegmentIds()...)
}