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: Make LeaderView Manager filter use map index #32505

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

congqixia
Copy link
Contributor

See also #32165

Change LeaderViewFilter to interface to provided map key to avoid iterating all key-values in LeaderViewManager

See also milvus-io#32165

Change `LeaderViewFilter` to interface to provided map key to avoid
iterating all key-values in LeaderViewManager

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Apr 22, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

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

@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Apr 22, 2024
Copy link
Contributor

mergify bot commented Apr 22, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Copy link
Contributor

mergify bot commented Apr 22, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Copy link

codecov bot commented Apr 22, 2024

Codecov Report

Attention: Patch coverage is 90.16393% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 81.72%. Comparing base (0fab265) to head (a73b730).
Report is 4 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #32505      +/-   ##
==========================================
- Coverage   81.85%   81.72%   -0.14%     
==========================================
  Files         989      999      +10     
  Lines      124456   124281     -175     
==========================================
- Hits       101873   101565     -308     
- Misses      18704    18828     +124     
- Partials     3879     3888       +9     
Files Coverage Δ
internal/querycoordv2/meta/leader_view_manager.go 94.69% <90.16%> (-5.31%) ⬇️

... and 219 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Apr 22, 2024
@tedxu
Copy link
Collaborator

tedxu commented Apr 23, 2024

/lgtm

@sre-ci-robot sre-ci-robot merged commit bfebdec into milvus-io:master Apr 23, 2024
15 checks passed
congqixia added a commit to congqixia/milvus that referenced this pull request Apr 23, 2024
See also milvus-io#32165

Change `LeaderViewFilter` to interface to provided map key to avoid
iterating all key-values in LeaderViewManager

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request Apr 24, 2024
…32528)

Cherry-pick from master
pr: #32505
See also #32165

Change `LeaderViewFilter` to interface to provided map key to avoid
iterating all key-values in LeaderViewManager

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
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.

None yet

3 participants