You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Hedger Lai (Jira)" <ji...@apache.org> on 2026/10/13 19:40:00 UTC
[jira] [Created] (YUNIKORN-3515) [Core] Fix multi-application victim overwrite and ghost notifications in quota preemption
Hedger Lai created YUNIKORN-3515:
------------------------------------
Summary: [Core] Fix multi-application victim overwrite and ghost notifications in quota preemption
Key: YUNIKORN-3515
URL: https://issues.apache.org/jira/browse/YUNIKORN-3515
Project: Apache YuniKorn
Issue Type: Sub-task
Components: core - scheduler
Reporter: Hedger Lai
Assignee: Hedger Lai
In QuotaPreemptionContext.preemptVictims() (quota_preemptor.go)
1. Multi-app victim overwrite: preemptedVictims is overwritten on each application iteration instead of appended. When a queue runs multiple applications, victims from all prior applications are lost from the result structure and parent queue aggregations.
2. Ghost release notification: When an allocation is already released, the full original victims slice is still passed to notifyRMAllocationReleased, triggering redundant release events to the shim for already-released pods.
3. Mismatched logger tag: The warning log uses SchedRequiredNodePreemption instead of SchedQuotaChangePreemption.
Fix:
- Append successfully preempted victims across applications to preemptedVictims.
- Only notify RM of allocations that were successfully marked as preempted.
- Accumulate claimedResource only for successfully preempted victims.
- Correct the logger tag to SchedQuotaChangePreemption.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org