Closed
Description
The current implementation of the type QuotaManagerInterface interface { instantiated at unc NewQuotaManager(dispatchedAWDemands map[string]*clusterstateapi.Resource, dispatchedAWs map[string]*arbv1.AppWrapper, is being accessed concurrently from multiple threads.
The points in which the QuotaManager
is being accessed are:
- Cleanup function. Cleanup is called by the
manageQueueJob
function, called by theworker
function running in a daemon thread. - In the ScheduleNext function if fits, preemptAWs, _ := qjm.quotaManager.Fits(qj, qjAggrResources, proposedPreemptions); fits {, which runs in a demon go routine.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done