[ 
https://issues.apache.org/jira/browse/YUNIKORN-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated YUNIKORN-2788:
-------------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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