pbacsko commented on code in PR #429:
URL: https://github.com/apache/yunikorn-core/pull/429#discussion_r961041864


##########
pkg/scheduler/objects/application_state.go:
##########
@@ -143,6 +143,10 @@ func NewAppState() *fsm.FSM {
                        },
                        fmt.Sprintf("enter_%s", Starting.String()): func(event 
*fsm.Event) {
                                app := event.Args[0].(*Application) 
//nolint:errcheck
+                               app.queue.incRunningApps()
+                               app.queue.decAllocatingAcceptedApps(app)
+                               
metrics.GetQueueMetrics(app.queuePath).IncQueueApplicationsRunning()
+                               
metrics.GetSchedulerMetrics().IncTotalApplicationsRunning()

Review Comment:
   Same for this, line 174 and 175.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to