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

Failed container doesn't care what instructions it gets and from #33

Closed
khelle opened this issue Sep 27, 2016 · 1 comment
Closed

Failed container doesn't care what instructions it gets and from #33

khelle opened this issue Sep 27, 2016 · 1 comment
Assignees

Comments

@khelle
Copy link
Member

khelle commented Sep 27, 2016

When container fails and escalates the problem to its parent supervision system, it doesn't care what instructions it get and from. It makes it accept instructions that might not be connected to solving the issue. What's more it allows executing the commands that should not be allowed in failed state.

@khelle khelle self-assigned this Sep 27, 2016
@khelle
Copy link
Member Author

khelle commented Sep 27, 2016

Supervision and routing now supports passing hashes. Once a container enters the failed state it registers an unique failure hash, which then passes to supervisor. After that, only commands having the same hash are executed, while other are rejected. It solves this problem, but makes developer responsible for passing hashes.

@khelle khelle closed this as completed in 05164a0 Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant