kubernetes/pkg/proxy
Kouhei Ueno 2e02967aca Avoid data race in Proxier.OnUpdate
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.
2014-08-06 04:34:54 +09:00
..
config Make interval a constant on proxy/config/etcd 2014-08-04 15:34:43 -04:00
doc.go proxy: fixing linting errors. 2014-07-10 22:36:06 -07:00
loadbalancer.go proxy: cleanup and minor refactoring 2014-08-05 07:18:12 -07:00
proxier.go Avoid data race in Proxier.OnUpdate 2014-08-06 04:34:54 +09:00
proxier_test.go Merge pull request #754 from kelseyhightower/proxy-cleanup 2014-08-05 11:46:52 -07:00
roundrobin.go proxy: cleanup and minor refactoring 2014-08-05 07:18:12 -07:00
roundrobin_test.go proxy: cleanup and minor refactoring 2014-08-05 07:18:12 -07:00