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: datacoord stuck at stopping progress (#36852) #36961

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

weiliu1031
Copy link
Contributor

issue: #36868
pr: #36852
if datacoord is syncing segments to datanode, and stop datacoord happens, datacoord's stop progress will stuck until syncing segment finished.

This PR add ctx to syncing segment, which will failed if stopping datacoord happens.

issue: milvus-io#36868
if datacoord is syncing segments to datanode, and stop datacoord
happens, datacoord's stop progress will stuck until syncing segment
finished.

This PR add ctx to syncing segment, which will failed if stopping
datacoord happens.

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

codecov bot commented Oct 17, 2024

Codecov Report

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

Project coverage is 81.24%. Comparing base (7c35c51) to head (954aedd).
Report is 11 commits behind head on 2.4.

Files with missing lines Patch % Lines
internal/datacoord/session_manager.go 0.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #36961      +/-   ##
==========================================
+ Coverage   71.90%   81.24%   +9.33%     
==========================================
  Files        1064     1064              
  Lines      140856   140887      +31     
==========================================
+ Hits       101287   114464   +13177     
+ Misses      35240    22095   -13145     
+ Partials     4329     4328       -1     
Files with missing lines Coverage Δ
internal/datacoord/sync_segments_scheduler.go 100.00% <100.00%> (ø)
internal/datacoord/session_manager.go 70.30% <0.00%> (-1.69%) ⬇️

... and 233 files with indirect coverage changes

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 b88d610 into milvus-io:2.4 Oct 18, 2024
14 of 15 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/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants