richardstartin opened a new pull request, #2065: URL: https://github.com/apache/helix/pull/2065
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2064 ### Description When there is a high level of parallelism configured and the JobDag is a job queue, building the ready job list would take a long time because the loop iterates until the level of parallelism is reached, and doesn't terminate when all the jobs have been processed ### Tests `TestRuntimeJobDag#testBuildJobQueueWithParallelismExceedingJobCount` was added to verify that the correct job order is still produced. It is not a performance test, but before the fix it took 22 seconds to complete, afterwards it takes ~1ms. ### Changes that Break Backward Compatibility (Optional) None. ### Documentation (Optional) This is a bug fix, no documentation required. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
