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: Skip set node unreachable when get shard client failed (#31277) #31451

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

weiliu1031
Copy link
Contributor

issue: #30531
pr: #31277

cause get client from shardClientMgr, doesn't means query node is unavailable. because of the ref counter policy in shardClientMgr, which will clean the client, if no collection use qn as shard leader.

This PR fix that set node unreachable when get shard client failed.

issue: milvus-io#30531

cause get client from `shardClientMgr`, doesn't means query node is
unavailable. because of the ref counter policy in `shardClientMgr`,
which will clean the client, if no collection use qn as shard leader.

This PR fix that set node unreachable when get shard client failed.

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/S Denotes a PR that changes 10-29 lines. label Mar 20, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Mar 20, 2024
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.22%. Comparing base (52a7eb9) to head (038b4c6).
Report is 4 commits behind head on 2.3.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##              2.3   #31451   +/-   ##
=======================================
  Coverage   82.22%   82.22%           
=======================================
  Files         844      844           
  Lines      122291   122291           
=======================================
+ Hits       100549   100557    +8     
+ Misses      18507    18496   -11     
- Partials     3235     3238    +3     
Files Coverage Δ
internal/proxy/look_aside_balancer.go 100.00% <100.00%> (+2.74%) ⬆️

... and 16 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Mar 20, 2024
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.

/lgtm

@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 6b76120 into milvus-io:2.3 Mar 21, 2024
14 checks passed
@weiliu1031 weiliu1031 changed the title fix: Set node unreachable when get shard client failed (#31277) fix: Skip set node unreachable when get shard client failed (#31277) Mar 29, 2024
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/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants