Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Define an interface to allow a single containers health to be checked. The check health method should receive as parameters everything it needs to check the container health (eg the ContainerInfo, ContainerReplica list, ... ?) and return a status indicating the health of the container, eg HEALTHY, UNDER_REPLICATED, OVER_REPLICATED ...
The status object could also container some commands needing send to the command queue, eg to close the container, delete a replica, force close etc.
The idea here is to create a standalone health check class for EC with few dependencies so it can be tested in isolation easily.
Attachments
Attachments
Issue Links
- links to