Wilfred Spiegelenburg created YUNIKORN-1451:
-----------------------------------------------

             Summary: required node preemptor should use IsPreempted field
                 Key: YUNIKORN-1451
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1451
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - scheduler
            Reporter: Wilfred Spiegelenburg


Allocations can be preempted and are marked as being preempted already.
The {{PreemptionContext.filterAllocations()}} call does not check if the 
allocation is already being preempted. It might thus consider it again as being 
pre-emptable during a second check.

We should exclude allocations already being preempted from the list of victims.
The impact should be limited at this point as we cannot have two reservations 
trigger preemption at the moment.



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