You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2024/04/10 18:44:00 UTC
[jira] [Resolved] (YUNIKORN-2545) Eliminate multiple lock calls from Queue
[ 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org