Craig Condit created YUNIKORN-2788:
--------------------------------------

             Summary: Node.AddAllocation() isn't error checked
                 Key: YUNIKORN-2788
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2788
             Project: Apache YuniKorn
          Issue Type: Bug
            Reporter: Craig Condit
            Assignee: Craig Condit


The AddAllocation() method is sometimes called in contexts where the allocation 
can fail, and others where it should not. This leads to silent corruption of 
values in certain cases. To fix this, we should split this method into 
TryAddAllocation(), using the existing semantics, and a new AddAllocation() 
method which cannot fail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to