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: watch channel stuck due to misuse of timer.Reset (#37433) #37542

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

weiliu1031
Copy link
Contributor

issue: #37166
pr: #37433
cause the misuse of timer.Reset, which cause dispatcher failed to send msg to virtual channel buffer, and dispatcher do splitting again and again, which hold the dispatcher manager's lock, block watching channel progress.

This PR fix the misuse of timer.Reset

issue: milvus-io#37166
cause the misuse of timer.Reset, which cause dispatcher failed to send
msg to virtual channel buffer, and dispatcher do splitting again and
again, which hold the dispatcher manager's lock, block watching channel
progress.

This PR fix the misuse of timer.Reset

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 Nov 8, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug ci-passed labels Nov 8, 2024
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 83.70%. Comparing base (60f9631) to head (2dedb93).
Report is 7 commits behind head on 2.4.

Files with missing lines Patch % Lines
internal/datanode/channel_manager.go 0.00% 4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #37542      +/-   ##
==========================================
+ Coverage   80.56%   83.70%   +3.14%     
==========================================
  Files        1069      801     -268     
  Lines      165760   139489   -26271     
==========================================
- Hits       133537   116761   -16776     
+ Misses      27851    18363    -9488     
+ Partials     4372     4365       -7     
Files with missing lines Coverage Δ
pkg/mq/msgdispatcher/target.go 100.00% <100.00%> (ø)
internal/datanode/channel_manager.go 88.82% <0.00%> (-1.01%) ⬇️

... and 317 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 a9beca4 into milvus-io:2.4 Nov 8, 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