-
Notifications
You must be signed in to change notification settings - Fork 3k
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
enhance:[cherry-pick] Support calculate segment maxRows with diskann #35155
enhance:[cherry-pick] Support calculate segment maxRows with diskann #35155
Conversation
80e65b2
to
1e590be
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.4 #35155 +/- ##
==========================================
+ Coverage 81.12% 81.15% +0.02%
==========================================
Files 1052 1052
Lines 136740 136764 +24
==========================================
+ Hits 110929 110984 +55
+ Misses 21603 21580 -23
+ Partials 4208 4200 -8
|
1e590be
to
41e0745
Compare
collMeta, err := m.handler.GetCollection(ctx, collectionID) | ||
if err != nil { | ||
log.Warn("failed to get collection", zap.Int64("collectionID", collectionID), zap.Error(err)) | ||
return Params.DataCoordCfg.SegmentMaxSize.GetAsInt64() * 1024 * 1024 |
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.
It supposed not happen in normal?will be blocked even though return a value here?
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.
yeah, you are right, it should return an error.
/lgtm |
Signed-off-by: Cai Zhang <[email protected]>
41e0745
to
1273a45
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: czs007, xiaocai2333 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 |
/lgtm |
issue: #34495
master pr: #35076