Skip to content

Auto Recover Isolated Exited when not programmatically requested. #4

@rayk

Description

@rayk

The ServiceRegistry already listen to any isolate termination.

This feature would restart that isolate if it's shutdown was not actually requested programmatically.

it will do this via looking at the available services list, if it was a programmatic shutdown the service would no longer be on that list. Therefore if service Id does not appear we would that the ServiceRegistration object off the list, provision it based upon the paths in the registration. Once provisioned a new ServiceRegistration would placed on the list.

This should only need a few lines of the code as the design and hooks are in place.. But the testing could take a couple of hours. Will need to write a bot the randomly kills isolates that service does not know about.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions