pbacsko commented on code in PR #839:
URL: https://github.com/apache/yunikorn-core/pull/839#discussion_r1557345696
##########
pkg/scheduler/objects/queue.go:
##########
@@ -957,12 +957,10 @@ func (sq *Queue) addChildQueue(child *Queue) error {
// This can be executed multiple times and is only effective the first time.
// This is a noop on an unmanaged queue.
func (sq *Queue) MarkQueueForRemoval() {
- // need to lock for write as we don't want to add a queue while marking
for removal
Review Comment:
Note: this comment is not necessary. Config refresh is done under a
partition lock, so the hierarchy cannot be modified while queues are being
marked.
--
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]