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: Search doesn't expire shard leader cache (#31380) #31450

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

weiliu1031
Copy link
Contributor

issue: #31351
pr: #31380
This PR fixed that search doesn't expire shard leader cache when send request to query node failed, which make every request keep trying to connect a offline query node

issue: milvus-io#31351
This PR fixed that search doesn't expire shard leader
cache when send request to query node failed, which make every request
keep trying to connect a offline query node

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/XS Denotes a PR that changes 0-9 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.23%. Comparing base (52a7eb9) to head (196ed5d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.3   #31450      +/-   ##
==========================================
+ Coverage   82.22%   82.23%   +0.01%     
==========================================
  Files         844      844              
  Lines      122291   122292       +1     
==========================================
+ Hits       100549   100570      +21     
+ Misses      18507    18487      -20     
  Partials     3235     3235              
Files Coverage Δ
internal/proxy/task_search.go 77.43% <100.00%> (+0.06%) ⬆️
internal/proxy/task_statistic.go 80.74% <ø> (-0.05%) ⬇️

... and 13 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 5994b6a into milvus-io:2.3 Mar 21, 2024
14 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/XS Denotes a PR that changes 0-9 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants