[
https://issues.apache.org/jira/browse/YUNIKORN-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874105#comment-17874105
]
Wilfred Spiegelenburg commented on YUNIKORN-2806:
-------------------------------------------------
To limit comments and requests for backports etc:
This was introduced in as part of YUNIKORN-2769 up until that point we had this
specific check as part of the victim list. This issue has not been part of any
release. It has only existed in master for ~3 days.
[PR diff
snippet|https://github.com/apache/yunikorn-core/pull/923/files#diff-27632d48eb925e150a33bc92370ceaa66c31048018d11ca7a53a0b50ab7250acL1753]
> Deadlock in preemption
> ----------------------
>
> Key: YUNIKORN-2806
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2806
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: Craig Condit
> Assignee: Craig Condit
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> A deadlock exists in TryPreemption() where the current app gets locked twice:
> once in TryAllocate(), and again in findEligiblePreemptionVictims() where
> apps are iterated to find victims. The current app is not excluded like it
> should be, resulting in a deadlock.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]