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

Possible starvation of goroutines when a delete query runs without sufficient permissions #316

Closed
jvshahid opened this issue Mar 7, 2014 · 0 comments
Milestone

Comments

@jvshahid
Copy link
Contributor

jvshahid commented Mar 7, 2014

If we received an access denied response as a result of running a delete query, this loop will exit:

https://github.com/influxdb/influxdb/blob/afd2d8c/src/coordinator/protobuf_request_handler.go#L86-L98

but this loop will keep trying to push responses on the channel that no one is reading from anymore:

https://github.com/influxdb/influxdb/blob/afd2d8c/src/cluster/shard.go#L347-L357

@jvshahid jvshahid added this to the 0.5.0 milestone Mar 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant