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 an assorted list of goroutine leaks. #3074

Merged
merged 1 commit into from
Feb 28, 2019
Merged

Conversation

srfrog
Copy link
Contributor

@srfrog srfrog commented Feb 27, 2019

In all of these channel allocs multiple goroutines are executed and returned early
in case of error. We don't wait for other goroutines to terminate while blocked on
sending to the channel.


This change is Reviewable

In all of these channel allocs multiple goroutines are executed and returned early
in case of error. We don't wait for other goroutines to terminate while blocked on
sending to the channel.
@srfrog srfrog requested a review from a team February 27, 2019 00:18
Copy link
Contributor

@martinmr martinmr left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: 0 of 3 files reviewed, all discussions resolved

Copy link
Contributor

@codexnull codexnull left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@codexnull codexnull left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

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

:lgtm: Nice! How did you figure these out?

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@srfrog srfrog merged commit 982c1fe into master Feb 28, 2019
@srfrog srfrog deleted the srfrog/fix_goroutine_leaks branch February 28, 2019 22:24
manishrjain pushed a commit that referenced this pull request Apr 11, 2019
In all of these channel allocs multiple goroutines are executed and returned early
in case of error. We don't wait for other goroutines to terminate while blocked on
sending to the channel.
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
In all of these channel allocs multiple goroutines are executed and returned early
in case of error. We don't wait for other goroutines to terminate while blocked on
sending to the channel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants