Skip to content
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

Merged

Conversation

xiaocai2333
Copy link
Contributor

issue: #34495

master pr: #35076

@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Jul 31, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Jul 31, 2024
@xiaocai2333 xiaocai2333 force-pushed the clustering_segment_size_disk branch from 80e65b2 to 1e590be Compare July 31, 2024 12:42
@mergify mergify bot added the ci-passed label Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.15%. Comparing base (5f601fc) to head (1273a45).
Report is 1 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@            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     
Files Coverage Δ
internal/datacoord/compaction_policy_clustering.go 69.44% <100.00%> (ø)
internal/datacoord/compaction_trigger_v2.go 73.35% <100.00%> (+1.63%) ⬆️
internal/datacoord/segment_allocation_policy.go 91.52% <100.00%> (+0.69%) ⬆️

... and 26 files with indirect coverage changes

@xiaocai2333 xiaocai2333 force-pushed the clustering_segment_size_disk branch from 1e590be to 41e0745 Compare August 1, 2024 01:46
@mergify mergify bot added ci-passed and removed ci-passed labels Aug 1, 2024
@xiaocai2333 xiaocai2333 added this to the 2.4.7 milestone Aug 1, 2024
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
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@wayblink
Copy link
Contributor

wayblink commented Aug 1, 2024

/lgtm

@xiaocai2333 xiaocai2333 force-pushed the clustering_segment_size_disk branch from 41e0745 to 1273a45 Compare August 1, 2024 06:55
@sre-ci-robot sre-ci-robot removed the lgtm label Aug 1, 2024
@mergify mergify bot added ci-passed and removed ci-passed labels Aug 1, 2024
@czs007
Copy link
Collaborator

czs007 commented Aug 2, 2024

/approve

@sre-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@czs007
Copy link
Collaborator

czs007 commented Aug 2, 2024

/lgtm

@sre-ci-robot sre-ci-robot merged commit 5f3d41d into milvus-io:2.4 Aug 2, 2024
14 of 15 checks passed
@xiaocai2333 xiaocai2333 deleted the clustering_segment_size_disk branch September 25, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants