wilfred-s opened a new pull request, #724: URL: https://github.com/apache/yunikorn-core/pull/724
### What is this PR for? When a node gets removed the partition resources and thus the root max resources are decreased. Cleanup of the allocations happens after that. This means that for a short period of time the root queue max resources are already decreased while the usage is not. If the queue headroom is limited by the root queue then we could have a race between the removal of the node allocations and scheduling adding a new allocation. Scheduling could fail with the root queue usage being over the max resources. ### What type of PR is it? * [X] - Bug Fix ### What is the Jira issue? * https://issues.apache.org/jira/browse/YUNIKORN-2171 ### How should this be tested? not been able to find a way to test this -- 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]
