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] Use cancel label for ctx canceled storage op (#37468) #37491

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

congqixia
Copy link
Contributor

Cherry-pick from master
pr: #37468

Previously failed label is used for canceled storage op, which may cause
wrong alarm when user cancel load operation or etc. This PR utilizes
cancel label when such case happens.

Previously failed label is used for canceled storage op, which may cause
wrong alarm when user cancel load operation or etc. This PR utilizes
cancel label when such case happens.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@sre-ci-robot sre-ci-robot added size/S Denotes a PR that changes 10-29 lines. approved labels Nov 7, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement ci-passed labels Nov 7, 2024
Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 10.00000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 80.64%. Comparing base (20534a3) to head (478b835).
Report is 4 commits behind head on 2.4.

Files with missing lines Patch % Lines
internal/storage/remote_chunk_manager.go 10.00% 16 Missing and 2 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #37491      +/-   ##
==========================================
+ Coverage   80.58%   80.64%   +0.06%     
==========================================
  Files        1069     1069              
  Lines      165656   165668      +12     
==========================================
+ Hits       133486   133608     +122     
+ Misses      27808    27710      -98     
+ Partials     4362     4350      -12     
Files with missing lines Coverage Δ
pkg/metrics/metrics.go 100.00% <ø> (ø)
internal/storage/remote_chunk_manager.go 74.64% <10.00%> (-3.35%) ⬇️

... and 36 files with indirect coverage changes

Copy link
Contributor

@LoveEachDay LoveEachDay 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, LoveEachDay

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 c8ba682 into milvus-io:2.4 Nov 7, 2024
14 of 15 checks passed
@congqixia congqixia deleted the cp24/37468 branch November 7, 2024 06:46
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/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants