Skip to content

Conversation

weiliu1031
Copy link
Contributor

issue: #38970
pr: #38971
cause the stopping balance channel still use the row_count_based policy, which may causes channel unbalance in multi-collection case.

This PR impl a score based stopping balance channel policy.

)

issue: milvus-io#38970
cause the stopping balance channel still use the row_count_based policy,
which may causes channel unbalance in multi-collection case.

This PR impl a score based stopping balance channel policy.

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Jan 13, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Jan 13, 2025
Copy link
Contributor

mergify bot commented Jan 13, 2025

@weiliu1031 go-sdk check failed, comment rerun go-sdk can trigger the job again.

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.06%. Comparing base (ac730be) to head (a748837).
Report is 14 commits behind head on 2.5.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.5   #39200      +/-   ##
==========================================
- Coverage   81.10%   81.06%   -0.04%     
==========================================
  Files        1389     1389              
  Lines      196366   196377      +11     
==========================================
- Hits       159254   159187      -67     
- Misses      31532    31583      +51     
- Partials     5580     5607      +27     
Components Coverage Δ
Client 78.26% <ø> (ø)
Core 69.54% <ø> (ø)
Go 83.02% <100.00%> (-0.05%) ⬇️
Files with missing lines Coverage Δ
internal/querycoordv2/balance/balance.go 94.11% <ø> (ø)
...al/querycoordv2/balance/rowcount_based_balancer.go 93.66% <100.00%> (-1.06%) ⬇️
...ernal/querycoordv2/balance/score_based_balancer.go 98.11% <100.00%> (+0.04%) ⬆️

... and 35 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Jan 13, 2025
@tedxu
Copy link
Contributor

tedxu commented Jan 14, 2025

/lgtm
/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tedxu, 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 5199415 into milvus-io:2.5 Jan 14, 2025
18 of 20 checks passed
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.

3 participants