kubernetes/pkg/controller/endpointslice
Quan Tian 6f8ce72c0c Fix a data race in TopologyCache
The member variable `cpuRatiosByZone` should be accessed with the lock
acquired as it could be be updated by `SetNodes` concurrently.

Signed-off-by: Quan Tian <qtian@vmware.com>
Co-authored-by: Antonio Ojea <aojea@google.com>
2023-04-13 11:13:02 +08:00
..
config generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
metrics pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-11-23 17:40:23 +02:00
topologycache Fix a data race in TopologyCache 2023-04-13 11:13:02 +08:00
endpointslice_controller.go Fix TopologyAwareHint not working when zone label is added after Node creation 2023-04-13 11:13:00 +08:00
endpointslice_controller_test.go Fix TopologyAwareHint not working when zone label is added after Node creation 2023-04-13 11:13:00 +08:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
reconciler.go Remove unused numExistingEndpoints variable 2022-11-23 00:54:50 +00:00
reconciler_test.go Introducing Topology Mode Annotation, Deprecating Topology Hints 2023-03-14 02:23:11 +00:00
utils.go Introducing Topology Mode Annotation, Deprecating Topology Hints 2023-03-14 02:23:11 +00:00
utils_test.go Introducing Topology Mode Annotation, Deprecating Topology Hints 2023-03-14 02:23:11 +00:00