Xiang Li
56cfe40184
grpcproxy: fix a data race
2016-09-03 07:53:18 -07:00
Xiang Li
b56ee178d5
grpcproxy: handle overloaded stream
2016-09-03 07:49:20 -07:00
Xiang Li
eded62e60c
grpcproxy: stop watchers in watch groups
2016-09-02 16:01:11 -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
Xiang Li
b982c80c14
grpcproxy: fix data race
2016-08-31 16:52:04 -07:00
Gyu-Ho Lee
a4ef36c8bf
proxy/grpcproxy: fix nil-map assign to 'singles'
2016-08-15 15:48:45 -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
Gyu-Ho Lee
abbefc9e25
grpcproxy: define 'watchergroups' in pointer
...
To avoid copying mutex lock values
2016-07-22 16:54:11 -07:00
Xiang Li
a61862acc7
Merge pull request #5977 from xiang90/b_proxy
...
grpcproxy: return interface
2016-07-18 19:12:43 -07:00
Xiang Li
5271cf0160
grpcproxy: return interface
2016-07-18 16:47:58 -07:00
Xiang Li
58aa3483c3
grpcproxy: add filter to watcher
2016-07-18 13:02:34 -07:00
Xiang Li
5f3aa43899
grpcproxy: initial watch proxy
2016-07-15 14:30:45 -07:00