• Kubernetes Submit Queue's avatar
    Merge pull request #49985 from dqminh/fix-race-federation-controller · a826c378
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    federation-controller/clustercontroller: fix race when updating data
    
    Fix #49958
    
    Updates for ClusterController's maps were made without locking which can lead
    to race conditions.
    
    This change adds a RWMutex to protect the data. We lock and unlock them
    whenever the data is accessed to make sure that we dont slow down too much
    a826c378
Name
Last commit
Last update
..
apis Loading commit data...
client Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
deploy Loading commit data...
develop Loading commit data...
docs/api-reference Loading commit data...
manifests Loading commit data...
pkg Loading commit data...
plugin/pkg/admission/schedulingpolicy Loading commit data...
registry/cluster Loading commit data...
BUILD Loading commit data...
Makefile Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...