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: Use cancel label for ctx canceled storage op #37468

Conversation

congqixia
Copy link
Contributor

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 <[email protected]>
@sre-ci-robot sre-ci-robot added size/S Denotes a PR that changes 10-29 lines. approved labels Nov 6, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Nov 6, 2024
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

Copy link
Contributor

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

Codecov Report

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

Project coverage is 81.02%. Comparing base (9a9de3d) to head (d53b491).
Report is 10 commits behind head on master.

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             @@
##           master   #37468      +/-   ##
==========================================
- Coverage   83.25%   81.02%   -2.23%     
==========================================
  Files        1015     1305     +290     
  Lines      157480   182870   +25390     
==========================================
+ Hits       131111   148179   +17068     
- Misses      21177    29488    +8311     
- Partials     5192     5203      +11     
Components Coverage Δ
Client ∅ <ø> (∅)
Core 67.37% <37.83%> (∅)
Go 83.25% <9.52%> (-0.03%) ⬇️
Files with missing lines Coverage Δ
internal/storage/remote_chunk_manager.go 73.86% <10.00%> (-3.23%) ⬇️

... and 323 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Nov 6, 2024
@sre-ci-robot sre-ci-robot merged commit 92028b7 into milvus-io:master Nov 6, 2024
19 of 20 checks passed
congqixia added a commit to congqixia/milvus that referenced this pull request Nov 7, 2024
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 <[email protected]>
sre-ci-robot pushed a commit that referenced this pull request Nov 7, 2024
…37491)

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.

---------

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