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

cmd: Change HttpServer stop channel to buffered channel. #411 #411

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

mgw2168
Copy link

@mgw2168 mgw2168 commented Mar 15, 2022

What type of PR is this?

/bug

What this PR does?

Summary: If you use unbuffered channel, it is possible to lose the signal.

Which issue(s) this PR fixes?

Fixes: #412

@andyli029 andyli029 added the bug Something isn't working label Mar 15, 2022
Copy link
Contributor

@andyli029 andyli029 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add #412 to the end of the commit log.
@mgw2168

@mgw2168
Copy link
Author

mgw2168 commented Mar 15, 2022

issue: #412

@mgw2168 mgw2168 changed the title cmd: Change HttpServer stop channel to buffered channel. cmd: Change HttpServer stop channel to buffered channel. #411 Mar 15, 2022
@andyli029 andyli029 self-requested a review March 17, 2022 02:57
@acekingke
Copy link
Contributor

LGTM

@andyli029 andyli029 added this to the v2.1.4 milestone Mar 21, 2022
Copy link
Contributor

@andyli029 andyli029 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@andyli029 andyli029 merged commit f2d534c into radondb:main Mar 21, 2022
@runkecheng runkecheng modified the milestones: v2.1.4, v2.1.3 Mar 24, 2022
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this pull request Aug 17, 2022
cmd: Change HttpServer stop channel to buffered channel. radondb#411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[sidecar] Use unbuffered channel, it is possible to lose the signal.
4 participants