Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1951

Make DriverStatus more robust

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • REEF Bridge
    • 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:

      1. 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.
      2. 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.

      Attachments

        Issue Links

          Activity

            People

              markus.weimer Markus Weimer
              markus.weimer Markus Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: