Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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.