[
https://issues.apache.org/jira/browse/YUNIKORN-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko resolved YUNIKORN-2545.
------------------------------------
Fix Version/s: 1.6.0
Resolution: Fixed
> Eliminate multiple lock calls from Queue
> ----------------------------------------
>
> Key: YUNIKORN-2545
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2545
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - scheduler
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> Eliminate multiple locking:
> * {{Queue.GetPartitionQueueDAOInfo()}} obtains a read lock, then calculates
> the headroom, which also acquires a read lock. Make sure we only have a
> single read lock while running this method.
> * {{Queue.addChildQueue()}}: call {{getCurrentPriority()}} instead of
> {{GetCurrentPriority()}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]