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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to