-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [cherry-pick]Save lite WatchInfo into etcd in DataNode #29751
Conversation
See also: milvus-io#29689 pr: milvus-io#29687 Signed-off-by: yangxuan <xuan.yang@zilliz.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 2.3 #29751 +/- ##
==========================================
+ Coverage 82.13% 82.15% +0.01%
==========================================
Files 832 832
Lines 119812 119827 +15
==========================================
+ Hits 98403 98438 +35
+ Misses 18192 18176 -16
+ Partials 3217 3213 -4
|
@XuanYang-cn E2e jenkins job failed, comment |
rerun ur |
rerun ut |
/run-cpu-e2e |
To watch a channel, datanode needs all segments info in the channel. The segmentIDs are notified through etcd meta datapb.ChannelWatchInfo. With the limitation of etcd meta is 2MB, the maxmaum segment number(int64) is around 200K. However DataNode will write full segmentInfo into etcd meta, which makes the limitmation even lesser, approximately **4k**. There's an ongoing pr to solve this issue: milvus-io#29751, milvus-io#29687. After these two PRs, we're expecting a limitation of **200K** segments. To make DataCoord&DataNode able to handle more segments, This PR introduces a Stream rpc: `ListChannelSegmentInfo(ChannelSegmentInfoRequest) returns(stream SegmentInfo)` The client would receive segmentInfo of a channel one by one, and has no limit for segment count in theory. See also: milvus-io#29861 Signed-off-by: yangxuan <xuan.yang@zilliz.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia, XuanYang-cn The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
See also: #29689
pr: #29687