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

Potential Terminate/Unbind race condition in shutdown of SQSRestServer #140

Closed
randomcoder opened this issue Jun 8, 2018 · 0 comments
Closed

Comments

@randomcoder
Copy link

I have been intermittent experiencing issues getting the error java.lang.IllegalStateException, with message: IO Listener actor terminated unexpectedly for remote endpoint when running with the SQSRestServer (examples at: akka/akka-http#1837, akka/alpakka#913 & akka/alpakka#915).

It looks like a race condition between the actor system shutdown and the server unbinding where the server received the Terminated message before the Unbind. The cause of this seems to be the ordering of the shutdown in the SQSRestServer created in the start() method of TheSQSRestServerBuilder.

randomcoder pushed a commit to randomcoder/elasticmq that referenced this issue Jun 8, 2018
@adamw adamw closed this as completed in #141 Jun 8, 2018
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