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

fix: uneven distribution caused by executing task delta cache leak #39702

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

weiliu1031
Copy link
Contributor

issue: #39681

this PR maintain workload effect in action instead of computing workload effect from target, which may cause leak if target changes.

this PR maintain workload effect in action instead of computing workload
effect from target, which may cause leak if target changes.

Signed-off-by: Wei Liu <[email protected]>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Feb 8, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Feb 8, 2025
Copy link

codecov bot commented Feb 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.15%. Comparing base (cd56d64) to head (8f254f2).
Report is 15 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #39702       +/-   ##
===========================================
+ Coverage   69.39%   80.15%   +10.76%     
===========================================
  Files         302     1476     +1174     
  Lines       27077   204321   +177244     
===========================================
+ Hits        18790   163779   +144989     
- Misses       8287    34713    +26426     
- Partials        0     5829     +5829     
Components Coverage Δ
Client 79.44% <ø> (∅)
Core 69.39% <ø> (ø)
Go 81.89% <100.00%> (∅)
Files with missing lines Coverage Δ
internal/querycoordv2/balance/utils.go 47.26% <100.00%> (ø)
internal/querycoordv2/checkers/index_checker.go 81.81% <100.00%> (ø)
internal/querycoordv2/checkers/segment_checker.go 91.71% <100.00%> (ø)
internal/querycoordv2/handlers.go 74.06% <100.00%> (ø)
internal/querycoordv2/task/action.go 97.19% <100.00%> (ø)
internal/querycoordv2/task/scheduler.go 88.25% <100.00%> (ø)

... and 1168 files with indirect coverage changes

@weiliu1031
Copy link
Contributor Author

rerun ut

@bigsheeper
Copy link
Contributor

/lgtm

How about also removing the unused ExecutingTaskDelta logic?

@weiliu1031
Copy link
Contributor Author

/lgtm

How about also removing the unused ExecutingTaskDelta logic?

ExecutingTaskDelta is still inuse

Copy link
Contributor

@congqixia congqixia left a comment

Choose a reason for hiding this comment

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

/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, weiliu1031

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 85c9f92 into milvus-io:master Feb 11, 2025
20 checks passed
sre-ci-robot pushed a commit that referenced this pull request Feb 11, 2025
…ak (#39759)

issue: #39681
pr: #39702
this PR maintain workload effect in action instead of computing workload
effect from target, which may cause leak if target changes.

Signed-off-by: Wei Liu <[email protected]>
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/bug Issues or changes related a bug 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