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

Optimize WaitForTaskRegistration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.16
    • None
    • None

    Description

      Currently in OperatorTopology WaitForTaskRegistration, we wait for parent first, then children. Each wait is in a retry/sleep loop until either found or timeout. After finding the first one, we will then look up for the second, and each loop is a blocking call.
      We can improve it by looking up all of them in the same loop. In the end, if any of them cannot be found, we will throw exception. So that the entire look up is in one retry/sleep loop.

      Attachments

        Activity

          People

            juliaw Julia Wang
            juliaw Julia Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: