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


   ### What is this PR for?
   If a node has a placeholder while the node is removed the cleanup leaves
   inflight replacements untouched. This can lead to unlinked allocations
   on a secondary node or asks that never get allocated.
   Handling three cases for node removal linked to placeholders:
   * the removed node contains both the placeholder and real allocations,
     the real allocation is retried (without placeholder)
   * the removed node contains only the real allocation,
     placeholder is unlinked and will be removed after confirmation by shim
     the real allocation is retried (without placeholder)
   * the removed node contains only the placeholder,
     the real allocation is confirmed on the 2nd node
   
   ### What type of PR is it?
   * [X] - Bug Fix
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/YUNIKORN-854
   
   ### How should this be tested?
   Unit tests are added as part of the change
   


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