pbacsko commented on code in PR #567:
URL: https://github.com/apache/yunikorn-core/pull/567#discussion_r1229384795
##########
pkg/scheduler/objects/queue.go:
##########
@@ -1823,3 +1853,10 @@ func (sq *Queue) recalculatePriority() int32 {
sq.currentPriority = curr
return priorityValueByPolicy(sq.priorityPolicy, sq.priorityOffset, curr)
}
+
+// clearSortedQueues remove sortedQueue property. This is used for child queue
get into stopped state.
+func (sq *Queue) clearSortedQueues() {
Review Comment:
I believe that this should be called all the way up to root. If a leaf is
stopped, then it affects the entire hierarchy which is above, not just the
immediate parent.
--
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]