[
https://issues.apache.org/jira/browse/YUNIKORN-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit resolved YUNIKORN-2788.
------------------------------------
Fix Version/s: 1.6.0
Resolution: Fixed
Merged to master.
> 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
> Fix For: 1.6.0
>
>
> 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]