Revision b44c6bff9dfc2e6c6557bf3ff837c120b9186b2d authored by Anthony Romano on 23 March 2017, 05:14:39 UTC, committed by Gyu-Ho Lee on 23 March 2017, 19:26:32 UTC
When a grpc watch stream is torn down, it will join on its logical substream
goroutines by waiting for each to close a channel. This doesn't guarantee
the substream is fully exited, though, but only about to exit and can be
waiting to resume even after Watch.Close finishes. Instead, use a
waitgroup.Done at the very end of the substream defer.

Fixes #7573
1 parent 8c3c1b4
History
File Mode Size
etcd-glyph-color.png -rw-r--r-- 4.3 KB
etcd-glyph-color.svg -rw-r--r-- 2.7 KB
etcd-horizontal-bw.png -rw-r--r-- 3.9 KB
etcd-horizontal-bw.svg -rw-r--r-- 4.1 KB
etcd-horizontal-color.png -rw-r--r-- 4.4 KB
etcd-horizontal-color.svg -rw-r--r-- 4.1 KB
etcd-offset-bw.png -rw-r--r-- 4.8 KB
etcd-offset-bw.svg -rw-r--r-- 4.1 KB
etcd-offset-color.png -rw-r--r-- 4.8 KB
etcd-offset-color.svg -rw-r--r-- 4.1 KB
etcd-stacked-bw.png -rw-r--r-- 4.5 KB
etcd-stacked-bw.svg -rw-r--r-- 4.1 KB
etcd-stacked-color.png -rw-r--r-- 4.6 KB
etcd-stacked-color.svg -rw-r--r-- 4.2 KB

back to top