Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
REEF-1942 introduces a new HTTP handler to communicate the Driver status to the client. However, as the tests for REEF-1950 in #1412 show, this mechanism isn't robust in two ways:
- The Client could call the HTTP endpoint for the first time before it starts. This results in a failed connection. To remedy this, the Client needs to retry the connection.
- The Client could call the HTTP endpoint for the first time after the Driver shuts down. This results in a failure. To remedy this, the Driver's HTTP handler should ensure that it is called at least once, e.g. by scheduling checks on the Clock.