wilfred-s opened a new pull request, #539:
URL: https://github.com/apache/yunikorn-core/pull/539

   ### What is this PR for?
   The node calculateNodesResourceUsage clones the  resource object inside a 
loop. The clone is correct as the allocated resource could be changed while the 
calculation is happening in the scheduling cycle. However, it should not happen 
inside the loop.
   
   ### What type of PR is it?
   * [X] - Bug Fix
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/YUNIKORN-1722
   
   ### How should this be tested?
   unit test cover the code
   performance test should improve


-- 
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]

Reply via email to