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: [2.4] Add context trace for querycoord queryable check (#37524) #37534

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

congqixia
Copy link
Contributor

Cherry-pick from master
pr: #37524

When check health logic failed to collection not-queryable, the related reason is hard to find in log.

This PR add context for log with trace id and print unqueryable collection info log.

…37524)

When check health logic failed to collection not-queryable, the related
reason is hard to find in log.

This PR add context for log with trace id and print unqueryable
collection info log.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label Nov 8, 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 8, 2024
Copy link
Contributor

mergify bot commented Nov 8, 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 Nov 8, 2024

Codecov Report

Attention: Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.

Project coverage is 80.55%. Comparing base (3499246) to head (b3bd62e).
Report is 7 commits behind head on 2.4.

Files with missing lines Patch % Lines
internal/querycoordv2/utils/util.go 81.81% 2 Missing ⚠️
internal/querycoordv2/services.go 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #37534      +/-   ##
==========================================
- Coverage   80.57%   80.55%   -0.02%     
==========================================
  Files        1069     1069              
  Lines      165759   165759              
==========================================
- Hits       133556   133534      -22     
- Misses      27836    27853      +17     
- Partials     4367     4372       +5     
Files with missing lines Coverage Δ
internal/querycoordv2/services.go 85.26% <50.00%> (ø)
internal/querycoordv2/utils/util.go 82.31% <81.81%> (ø)

... and 33 files with indirect coverage changes

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

/lgtm

@sre-ci-robot sre-ci-robot merged commit cedc340 into milvus-io:2.4 Nov 8, 2024
14 of 15 checks passed
@congqixia congqixia deleted the cp24/37524 branch November 11, 2024 02:57
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/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants