kubernetes/pkg/controller/endpointslice/topologycache
Quan Tian d567d61aa5 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 02:03:16 +08:00
..
event.go Added events publishing for topologyHints changes 2022-11-07 19:45:40 +00:00
sliceinfo_test.go pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-11-23 17:40:23 +02:00
sliceinfo.go Generate and format files 2022-07-26 13:14:05 -04:00
topologycache_test.go Fix a data race in TopologyCache 2023-04-13 02:03:16 +08:00
topologycache.go Fix a data race in TopologyCache 2023-04-13 02:03:16 +08:00
utils_test.go pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-11-23 17:40:23 +02:00
utils.go Added events publishing for topologyHints changes 2022-11-07 19:45:40 +00:00