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

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

> Deadlock when evaluating nodes for preemption
> ---------------------------------------------
>
>                 Key: YUNIKORN-2068
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2068
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>            Reporter: Craig Condit
>            Assignee: Craig Condit
>            Priority: Blocker
>              Labels: pull-request-available
>
> During preemption predicate checks, we have a read lock that can be acquired 
> multiple times without releasing, leading to deadlocks. Problematic ocde is 
> in context.IsPodFitNodeViaPreemption(), where ctx.schedulerCache.GetPod() is 
> called after ctx.schedulerCache.LockForReads(). Both functions acquire the 
> cache rlock.



--
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