mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
The bug was that the proxier is passed as value on method decleration. This caused a copy of Proxier to be created when the method was invoked. The copy being a shallow copy turned out to have them both reference a same map instance, but their mutexes were different instances. This turned out to use different mutexes before operating on a same map instance, which didn't make sense. |
||
|---|---|---|
| .. | ||
| config | ||
| doc.go | ||
| loadbalancer.go | ||
| proxier.go | ||
| proxier_test.go | ||
| roundrobin.go | ||
| roundrobin_test.go | ||