Anthony Romano
bd1985d84b
grpcproxy: fix race on watcher revision
...
Was racing between broadcast setting the watchgroup revision
and joining single watchers.
2016-10-21 16:09:39 -07:00
Xiang Li
805d4cbd93
grpcproxy: fix double create event
2016-09-02 16:02:46 -07:00
Xiang Li
8cd47c4348
grpcproxy: fix more issues in watch path
2016-09-02 15:13:21 -07:00
Xiang Li
51b4d6b7a8
grpcproxy: support cancel watcher
...
We do not wait for the cancellation from actual etcd server,
but generate it at the proxy side. The rule is to return the
latest rev that the watcher has seen. This should be good
enough for most use cases if not all.
2016-09-02 12:36:47 -07:00
Anthony Romano
d3ecebd14e
grpcproxy: shut down watcher proxy when client context is done
2016-09-01 15:20:50 -07:00
Gyu-Ho Lee
19b35c939a
proxy/grpcproxy: fix spell 'gropu' to 'group'
2016-08-13 20:55:15 -07:00
Xiang Li
57c68ab1db
grpcproxy: handle create event
2016-08-02 20:51:30 -07:00
Anthony Romano
2b4c37f54a
grpcproxy: don't leak goroutines on watch proxy shutdown
2016-07-25 09:34:36 -07:00
Anthony Romano
418bb5e176
grpcproxy: bind clientv3.Watcher on initialization
2016-07-25 09:34:36 -07:00
Xiang Li
783675f91c
grpcproxy: do not send duplicate events to watchers
2016-07-19 10:14:57 -07:00
Xiang Li
5f3aa43899
grpcproxy: initial watch proxy
2016-07-15 14:30:45 -07:00