Kubernetes Submit Queue
|
f02c8e47bc
|
Merge pull request #38669 from caesarxuchao/fix-cacher
Automatic merge from submit-queue
Fix leaking goroutines in watch cache
Fixes #38670 which causes leaked goroutines in the API server. The root cause is: if the WatchServer timeout [fires](https://github.com/kubernetes/kubernetes/blob/master/pkg/apiserver/watch.go#L187-L188) when the `result` channel is full, `sendWatchCacheEvent` will be blocked on the write to the `result` even though `cacheWatch.Stop()` is [called](https://github.com/kubernetes/kubernetes/blob/master/pkg/apiserver/watch.go#L171), because WatchServer stops consuming the `result` channel after the timeout.
Thanks to @krousey for identifying the problem. cc @mml @yujuhong
|
2016-12-13 00:43:08 -08:00 |
|
Chao Xu
|
7e787b144a
|
fix leaking goroutine issues in watch cache
|
2016-12-12 21:41:33 -08:00 |
|
Mike Danese
|
c87de85347
|
autoupdate BUILD files
|
2016-12-12 13:30:07 -08:00 |
|
Wojciech Tyczynski
|
01699ef320
|
Proper fix for non-receiving watchers
|
2016-12-09 09:43:10 +01:00 |
|
Clayton Coleman
|
5df8cc39c9
|
refactor: generated
|
2016-12-03 19:10:46 -05:00 |
|
Wojciech Tyczynski
|
36e6cd19e1
|
Cache fields for filtering in watchCache.
|
2016-11-29 09:48:09 +01:00 |
|
Clayton Coleman
|
35a6bfbcee
|
generated: refactor
|
2016-11-23 22:30:47 -06:00 |
|
Chao Xu
|
bcc783c594
|
run hack/update-all.sh
|
2016-11-23 15:53:09 -08:00 |
|
Hongchao Deng
|
32a96b7dc0
|
pkg/storage: update bazel
|
2016-11-13 18:34:55 -08:00 |
|
Mike Danese
|
3b6a067afc
|
autogenerated
|
2016-10-21 17:32:32 -07:00 |
|