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

statemachine: not receiving commands blocks Stopping and http endpoint #141

Open
schmichael opened this issue Aug 20, 2015 · 0 comments
Open
Labels

Comments

@schmichael
Copy link
Contributor

If a stateful task handler does not receive on its command chan, the Stop() method can block indefinitely which in turn can block things like the httputil info handler which check the stopped flag of every running task.

Since all of these paths must acquire the lock around the tasks stop flag, they all block and make it hard if not impossible to tell what task is causing the issue!

@schmichael schmichael added the bug label Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant