You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by pb...@apache.org on 2024/04/15 11:18:21 UTC

(yunikorn-core) branch master updated: [YUNIKORN-2550] [ADDENDUM] Fix locking in PartitionContext

This is an automated email from the ASF dual-hosted git repository.

pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git


The following commit(s) were added to refs/heads/master by this push:
     new b3b84b2a [YUNIKORN-2550] [ADDENDUM] Fix locking in PartitionContext
b3b84b2a is described below

commit b3b84b2a90afd9daed065662c9b81c9c1a5c2e9b
Author: Peter Bacsko <pb...@cloudera.com>
AuthorDate: Mon Apr 15 13:14:22 2024 +0200

    [YUNIKORN-2550] [ADDENDUM] Fix locking in PartitionContext
---
 pkg/scheduler/partition.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pkg/scheduler/partition.go b/pkg/scheduler/partition.go
index 2f3ebfe4..41b20e0d 100644
--- a/pkg/scheduler/partition.go
+++ b/pkg/scheduler/partition.go
@@ -172,7 +172,6 @@ func (pc *PartitionContext) updatePartitionDetails(conf configs.PartitionConfig)
 
 	pc.Lock()
 	defer pc.Unlock()
-	pc.rules = &conf.PlacementRules
 	pc.updatePreemption(conf)
 	// start at the root: there is only one queue
 	queueConf := conf.Queues[0]


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org