Skip to content

Commit

Permalink
enhance: remove flushed segmentInfo in WatchChannelRequest (#29526)
Browse files Browse the repository at this point in the history
`WatchDmChannel` only need growing segment info, this PR removes fetch
segmentInfos when fill watch dml channel request.

---------

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Dec 27, 2023
1 parent e53a1aa commit aa279db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/querycoordv2/task/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ func fillSubChannelRequest(
) error {
segmentIDs := typeutil.NewUniqueSet()
for _, vchannel := range req.GetInfos() {
segmentIDs.Insert(vchannel.GetFlushedSegmentIds()...)
segmentIDs.Insert(vchannel.GetUnflushedSegmentIds()...)
}

Expand Down

0 comments on commit aa279db

Please sign in to comment.