You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klog.Info("[allocatableCapacity] The avaible capacity to dispatch appwrapper is %v and time took to calculate is %v", capacity, time.Now().Sub(startTime))
195
+
returncapacity
196
+
}
197
+
157
198
// NewJobController create new AppWrapper Controller
//cache.go updatestate method fails resulting in empty resource object
1102
-
//cache upate failure costly, as it will put current AW in backoff queue plus take another dispatch cycle
1103
-
//In worst case the cache update could fail for subsequent dispatche cycles causing test cases to fail or AW never getting dispatched
1104
-
//To avoid non-determinism below code is workaround. this should be issue should be fixed: https://github.com/project-codeflare/multi-cluster-app-dispatcher/issues/550
1143
+
//cache now is a method inside the controller.
1144
+
//The reimplementation should fix issue : https://github.com/project-codeflare/multi-cluster-app-dispatcher/issues/550
klog.Infof("[ScheduleNext] [Agent Mode] Appwrapper '%s/%s' with resources %v to be scheduled on aggregated idle resources %v", qj.Namespace, qj.Name, aggqj, resources)
1117
1156
1118
1157
// Assume preemption will remove low priroity AWs in the system, optimistically dispatch such AWs
klog.Infof("[ScheduleNext] [Agent Mode] Optimistic dispatch for AW '%s/%s' requesting aggregated resources %v histogram for point in-time fragmented resources are available in the cluster %s",
0 commit comments