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: [2.4]Skip load delta data in delegater when using RemoteLoad (#37082) #37112

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

congqixia
Copy link
Contributor

Cherry-pick from master
pr: #37082
Related to #35303

Delta data is not needed when using RemoteLoad l0 forward policy. By skipping load delta data, memory pressure could be eased if l0 segment size/number is large.

…vus-io#37082)

Related to milvus-io#35303

Delta data is not needed when using `RemoteLoad` l0 forward policy. By
skipping load delta data, memory pressure could be eased if l0 segment
size/number is large.

Signed-off-by: Congqi Xia <[email protected]>
@sre-ci-robot sre-ci-robot added size/S Denotes a PR that changes 10-29 lines. approved labels Oct 24, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Oct 24, 2024
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 46.66667% with 8 lines in your changes missing coverage. Please review.

Project coverage is 80.61%. Comparing base (3db137f) to head (4a9809c).
Report is 2 commits behind head on 2.4.

Files with missing lines Patch % Lines
internal/querynodev2/delegator/delegator_data.go 12.50% 6 Missing and 1 partial ⚠️
internal/querynodev2/delegator/delta_forward.go 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #37112      +/-   ##
==========================================
+ Coverage   79.67%   80.61%   +0.93%     
==========================================
  Files        1066     1066              
  Lines      165082   165094      +12     
==========================================
+ Hits       131524   133083    +1559     
+ Misses      29216    27669    -1547     
  Partials     4342     4342              
Files with missing lines Coverage Δ
internal/querynodev2/delegator/delegator.go 86.56% <100.00%> (-0.38%) ⬇️
internal/querynodev2/delegator/delta_forward.go 64.00% <50.00%> (ø)
internal/querynodev2/delegator/delegator_data.go 87.74% <12.50%> (-0.93%) ⬇️

... and 93 files with indirect coverage changes

@yanliang567 yanliang567 added ci-passed manual-pass manually set pass before ci-passed labeled labels Oct 24, 2024
Copy link
Contributor

@XuanYang-cn XuanYang-cn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot
Copy link
Contributor

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

@sre-ci-robot sre-ci-robot merged commit 79891f0 into milvus-io:2.4 Oct 25, 2024
14 of 15 checks passed
congqixia added a commit to congqixia/milvus that referenced this pull request Oct 25, 2024
Related to milvus-io#37112

Skip load logic used to work only when there is multiple segment load
info entires in load request. In continous delete case, delegator still
loads l0 segment, which occupies lot of memory.

Signed-off-by: Congqi Xia <[email protected]>
congqixia added a commit to congqixia/milvus that referenced this pull request Oct 25, 2024
Related to milvus-io#37112

Skip load logic used to work only when there is multiple segment load
info entires in load request. In continous delete case, delegator still
loads l0 segment, which occupies lot of memory.

Signed-off-by: Congqi Xia <[email protected]>
sre-ci-robot pushed a commit that referenced this pull request Oct 25, 2024
Cherry-pick from master
pr: #37160
Related to #37112

Skip load logic used to work only when there is multiple segment load
info entires in load request. In continous delete case, delegator still
loads l0 segment, which occupies lot of memory.

Signed-off-by: Congqi Xia <[email protected]>
sre-ci-robot pushed a commit that referenced this pull request Oct 25, 2024
Related to #37112

Skip load logic used to work only when there is multiple segment load
info entires in load request. In continous delete case, delegator still
loads l0 segment, which occupies lot of memory.

Signed-off-by: Congqi Xia <[email protected]>
@congqixia congqixia deleted the cp24/37082 branch October 29, 2024 07:05
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 manual-pass manually set pass before ci-passed labeled size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants