[
https://issues.apache.org/jira/browse/YUNIKORN-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit resolved YUNIKORN-2452.
------------------------------------
Fix Version/s: 1.6.0
Resolution: Fixed
Merged to master.
> Use RLock() for node.GetAvailableResource()
> --------------------------------------------
>
> Key: YUNIKORN-2452
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2452
> Project: Apache YuniKorn
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Yun Sun
> Priority: Minor
> Labels: newbie, pull-request-available
> Fix For: 1.6.0
>
>
> see
> [https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/objects/node.go#L264]
> The other similar methods (`GetAllocatedResource`, `GetOccupiedResource`, and
> `GetCapacity`) are using read-lock, so `GetAvailableResource` ought to apply
> read-lock too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]