You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2026/03/23 04:59:00 UTC
[jira] [Assigned] (YUNIKORN-3241) Fence root search bug when queue is at max capacity
[ https://issues.apache.org/jira/browse/YUNIKORN-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wilfred Spiegelenburg reassigned YUNIKORN-3241:
-----------------------------------------------
Assignee: Victor Zhou
> Fence root search bug when queue is at max capacity
> ---------------------------------------------------
>
> Key: YUNIKORN-3241
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3241
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: Victor Zhou
> Assignee: Victor Zhou
> Priority: Major
> Labels: Yunikorn-core, bug, preemption, pull-request-available
> Fix For: 1.9.0
>
>
> h3. Description
> [findPreemptionFenceRoot() |https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/objects/queue.go#L2201]in pkg/scheduler/objects/queue.go only fenced on max when allocated == max.
> Allocated equals max exactly is a pretty rare case, and this misses cases where a queue is not yet full, but the incoming ask would bring it to or beyond max (allocated + ask >= max), causing preemption scope to be computed too broadly.
> h3. Root Cause
> Fence-root max check was based on current allocation equality only, without considering the pending ask resource.
--
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