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: Handle legacy proxy load fields request #37565

Merged

Conversation

congqixia
Copy link
Contributor

Related to #35415

In rolling upgrade, legacy proxy may dispatch load request wit empty load field list. The upgraded querycoord may report error by mistake that load field list is changed.

This PR:

  • Auto field empty load field list with all user field ids
  • Refine the error messag when load field list updates
  • Refine load job unit test with service cases

Related to milvus-io#35415

In rolling upgrade, legacy proxy may dispatch load request wit empty
load field list. The upgraded querycoord may report error by mistake
that load field list is changed.

This PR:

- Auto field empty load field list with all user field ids
- Refine the error messag when load field list updates
- Refine load job unit test with service cases

Signed-off-by: Congqi Xia <[email protected]>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Nov 10, 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 Nov 10, 2024
Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.59%. Comparing base (f42869c) to head (84bd33f).
Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #37565       +/-   ##
===========================================
+ Coverage   68.13%   80.59%   +12.46%     
===========================================
  Files         290     1356     +1066     
  Lines       25395   190009   +164614     
===========================================
+ Hits        17302   153137   +135835     
- Misses       8093    31465    +23372     
- Partials        0     5407     +5407     
Components Coverage Δ
Client 60.27% <ø> (∅)
Core 68.13% <ø> (ø)
Go 83.24% <100.00%> (∅)
Files with missing lines Coverage Δ
internal/querycoordv2/job/job_load.go 89.44% <100.00%> (ø)

... and 1065 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Nov 10, 2024
@weiliu1031
Copy link
Contributor

/lgtm

@sre-ci-robot sre-ci-robot merged commit 5e90f34 into milvus-io:master Nov 11, 2024
20 checks passed
congqixia added a commit to congqixia/milvus that referenced this pull request Nov 11, 2024
Related to milvus-io#35415

In rolling upgrade, legacy proxy may dispatch load request wit empty
load field list. The upgraded querycoord may report error by mistake
that load field list is changed.

This PR:

- Auto field empty load field list with all user field ids
- Refine the error messag when load field list updates
- Refine load job unit test with service cases

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

In rolling upgrade, legacy proxy may dispatch load request wit empty
load field list. The upgraded querycoord may report error by mistake
that load field list is changed.

This PR:

- Auto field empty load field list with all user field ids
- Refine the error messag when load field list updates
- Refine load job unit test with service cases

Signed-off-by: Congqi Xia <[email protected]>
@congqixia congqixia deleted the enhance/fpl_qc_handle_legacy_proxy branch November 11, 2024 06:07
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.

3 participants