FrankYang0529 opened a new pull request, #665:
URL: https://github.com/apache/yunikorn-core/pull/665

   ### What is this PR for?
   
   In the case that we remove allocations we might not update the released 
container metric correctly in the partition code.
   
   - in removeNodeAllocations the queue metric update is in an if..else but 
none of the other trackers are
   - in removeAllocation the queue metric update is in an if..else but none of 
the other trackers are
   - in removeAllocation the metric is not updated correctly if we have 
multiple allocations that get removed in one action we only increment by 1. 
Placeholder count is tracked correctly
   
   ### What type of PR is it?
   * [X] - Bug Fix
   
   ### What is the Jira issue?
   
   https://issues.apache.org/jira/browse/YUNIKORN-1994
   
   ### How should this be tested?
   


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