milvus icon indicating copy to clipboard operation
milvus copied to clipboard

fix: Querynode collection meta cache protection

Open yhmo opened this issue 3 weeks ago • 10 comments

issue: https://github.com/milvus-io/milvus/issues/45410

yhmo avatar Nov 13 '25 03:11 yhmo

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: yhmo To complete the pull request process, please assign zhengbuqian after the PR has been reviewed. You can assign the PR to them by writing /assign @zhengbuqian in a comment when ready.

The full list of commands accepted by this bot can be found 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 avatar Nov 13 '25 03:11 sre-ci-robot

@yhmo Please associate the related issue to the body of your Pull Request. (eg. "issue: #")

mergify[bot] avatar Nov 13 '25 03:11 mergify[bot]

[ci-v2-notice] Notice: We are gradually rolling out the new ci-v2 system.

  • Legacy CI jobs remain unaffected, you can just ignore ci-v2 if you don't want to run it.
  • Additional "ci-v2/*" checkers will run for this PR to ensure the new ci-v2 system is working as expected.
  • For tests that exist in both v1 and v2, passing in either system is considered PASS.

To rerun ci-v2 checks, comment with:

  • /ci-rerun-code-check // for ci-v2/code-check
  • /ci-rerun-build // for ci-v2/build
  • /ci-rerun-ut-integration // for ci-v2/ut-integration
  • /ci-rerun-ut-go // for ci-v2/ut-go
  • /ci-rerun-ut-cpp // for ci-v2/ut-cpp
  • /ci-rerun-ut // for all ci-v2/ut-integration, ci-v2/ut-go, ci-v2/ut-cpp
  • /ci-rerun-e2e-arm // for ci-v2/e2e-arm

If you have any questions or requests, please contact @zhikunyao.

sre-ci-robot avatar Nov 13 '25 03:11 sre-ci-robot

Codecov Report

:x: Patch coverage is 76.92308% with 6 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 76.44%. Comparing base (2134f83) to head (da4cbe8). :warning: Report is 94 commits behind head on master.

Files with missing lines Patch % Lines
internal/util/segcore/collection.go 70.00% 4 Missing and 2 partials :warning:

:x: Your patch check has failed because the patch coverage (76.92%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. :x: Your project check has failed because the head coverage (76.44%) is below the target coverage (77.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #45531      +/-   ##
==========================================
- Coverage   76.54%   76.44%   -0.10%     
==========================================
  Files        1874     1874              
  Lines      292592   292735     +143     
==========================================
- Hits       223965   223794     -171     
- Misses      61225    61496     +271     
- Partials     7402     7445      +43     
Components Coverage Δ
Client 78.17% <ø> (ø)
Core 83.19% <ø> (ø)
Go 74.53% <53.02%> (-0.14%) :arrow_down:
Files with missing lines Coverage Δ
internal/querynodev2/segments/collection.go 86.61% <100.00%> (+0.34%) :arrow_up:
internal/util/segcore/collection.go 50.96% <70.00%> (+3.90%) :arrow_up:

... and 44 files with indirect coverage changes

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Nov 13 '25 05:11 codecov[bot]

@yhmo cpu-e2e job failed, comment /run-cpu-e2e can trigger the job again.

mergify[bot] avatar Nov 13 '25 06:11 mergify[bot]

/ci-rerun-ut-integration

yhmo avatar Nov 14 '25 03:11 yhmo

[ci-v2-notice] Notice: We are gradually rolling out the new ci-v2 system.

  • Legacy CI jobs remain unaffected, you can just ignore ci-v2 if you don't want to run it.
  • Additional "ci-v2/*" checkers will run for this PR to ensure the new ci-v2 system is working as expected.
  • For tests that exist in both v1 and v2, passing in either system is considered PASS.

To rerun ci-v2 checks, comment with:

  • /ci-rerun-code-check // for ci-v2/code-check
  • /ci-rerun-build // for ci-v2/build
  • /ci-rerun-ut-integration // for ci-v2/ut-integration
  • /ci-rerun-ut-go // for ci-v2/ut-go
  • /ci-rerun-ut-cpp // for ci-v2/ut-cpp
  • /ci-rerun-ut // for all ci-v2/ut-integration, ci-v2/ut-go, ci-v2/ut-cpp
  • /ci-rerun-e2e-arm // for ci-v2/e2e-arm

If you have any questions or requests, please contact @zhikunyao.

sre-ci-robot avatar Nov 20 '25 05:11 sre-ci-robot

/ci-rerun-code-check /ci-rerun-build /ci-rerun-ut-integration /ci-rerun-ut-go /ci-rerun-ut-cpp /ci-rerun-e2e-arm

yhmo avatar Nov 24 '25 06:11 yhmo

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

mergify[bot] avatar Nov 24 '25 11:11 mergify[bot]

@yhmo cpu-e2e job failed, comment /run-cpu-e2e can trigger the job again.

mergify[bot] avatar Nov 24 '25 12:11 mergify[bot]