Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- is related to
-
YUNIKORN-2069 Add e2e test covering YUNIKORN-2068
- Open
- links to