VStream API: Fix vtgate memory leaks when context gets cancelled#10571
Merged
rohit-nayak-ps merged 1 commit intovitessio:mainfrom Jun 24, 2022
Merged
VStream API: Fix vtgate memory leaks when context gets cancelled#10571rohit-nayak-ps merged 1 commit intovitessio:mainfrom
rohit-nayak-ps merged 1 commit intovitessio:mainfrom
Conversation
Contributor
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
e8624be to
0da0cc3
Compare
dcab906 to
930b8db
Compare
…hannel might block the vstream thread if target channel goes away: context was not being checked then. Fix health stream goroutine leak. Signed-off-by: Rohit Nayak <rohit@planetscale.com>
930b8db to
1711702
Compare
mattlord
approved these changes
Jun 24, 2022
2 tasks
rohit-nayak-ps
added a commit
to planetscale/vitess
that referenced
this pull request
Jul 21, 2022
…hannel might block the vstream thread if target channel goes away: context was not being checked then. Fix health stream goroutine leak. (vitessio#10571) Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Merged
3 tasks
Collaborator
|
We've already included this in v13.0.2. Based on the report in slack we should back port it to release-12.0 as well. |
3 tasks
mattlord
pushed a commit
to planetscale/vitess
that referenced
this pull request
Aug 3, 2022
…hannel might block the vstream thread if target channel goes away: context was not being checked then. Fix health stream goroutine leak. (vitessio#10571) Signed-off-by: Rohit Nayak <rohit@planetscale.com> Signed-off-by: Matt Lord <mattalord@gmail.com>
3 tasks
DeathBorn
pushed a commit
to vinted/vitess
that referenced
this pull request
Jan 26, 2023
…hannel might block the vstream thread if target channel goes away: context was not being checked then. Fix health stream goroutine leak. (vitessio#10571) Signed-off-by: Rohit Nayak <rohit@planetscale.com> Signed-off-by: Matt Lord <mattalord@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a couple of memory leaks in the VStream API which was causing vtgates to OOM.
Signed-off-by: Rohit Nayak rohit@planetscale.com
Related Issue(s)
Checklist