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

master process don't do anything if all workers in the group are dead #16

Open
kaero opened this issue Oct 3, 2014 · 0 comments
Open

Comments

@kaero
Copy link
Contributor

kaero commented Oct 3, 2014

For example, if you have 9 workers in 3 groups and all workers in first group are dead (they exceeded the limit of sequential deaths), then an application will stop to serve requests on the dead group port. Master process don't restructure the groups on workers death and don't emit any errors or events about the issue.

Options:

  • emit group dead event and log or throw en error if listener is not assigned to event
  • restructure workers groups until workers count is greater or equal to groups count and fail otherwise.
@kaero kaero added the bug label Oct 3, 2014
@kaero kaero removed the bug label Nov 19, 2014
@kaero kaero changed the title master process don't do anything if all warkers in the group are dead master process don't do anything if all workers in the group are dead Jan 5, 2015
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