Hitoshi Mitake
0090573749
etcdserver: skip range requests in txn if the result is needless
...
If a server isn't serving txn requests from a client, the server
doesn't need the result of range requests in the txn.
This is a succeeding commit of
https://github.com/coreos/etcd/pull/5689
2016-07-26 19:49:07 -07:00
Xiang Li
0d6c028aa2
Merge pull request #6032 from xiang90/gateway
...
fix a few issues in grpc gateway
2016-07-25 16:48:38 -07:00
Anthony Romano
864947a825
Merge pull request #6037 from heyitsanthony/disable-tracing
...
etcdmain: disable grpc tracing by default
2016-07-25 15:20:28 -07:00
Anthony Romano
d6b22323a8
etcdmain: disable grpc tracing by default
2016-07-25 14:23:36 -07:00
Anthony Romano
6079be7dae
Merge pull request #6036 from heyitsanthony/fix-embed-defaults
...
embed: add listen urls to default config
2016-07-25 12:49:45 -07:00
Anthony Romano
537057bd11
Merge pull request #6033 from heyitsanthony/watch-adapter
...
integration: support watch with cluster_proxy tag
2016-07-25 11:34:15 -07:00
Anthony Romano
42fc36b4d6
embed: add listen urls to default config
...
Was only setting the advertise urls.
2016-07-25 11:06:03 -07:00
Xiang Li
7f0f9795bf
Merge pull request #6028 from xiang90/plat
...
doc: update platform.md
2016-07-25 09:58:55 -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
Anthony Romano
1cad722a6d
integration: support watch apis in cluster_proxy build
2016-07-25 09:34:36 -07:00
Anthony Romano
ac96963003
clientv3: support creating a Watch from a WatchClient
2016-07-25 09:34:36 -07:00
Anthony Romano
4fa9363aca
grpcproxy: client watch adapter
2016-07-25 09:34:36 -07:00
Xiang Li
020a24f1c3
*: regenerate proto for handling eof error
2016-07-23 16:21:44 -07:00
Xiang Li
38b69a9301
scripts:genproto.sh: update grpc-gateway
2016-07-23 16:18:42 -07:00
Xiang Li
fffa484a9f
*: regenerate proto for adding deleterange
2016-07-23 16:17:44 -07:00
Xiang Li
b4ce427d45
etcdserverpb: add missing deleterange annotation
2016-07-23 15:59:53 -07:00
Gyu-Ho Lee
116a1b5855
Merge pull request #6031 from gyuho/vet-fix
...
grpcproxy: define 'watchergroups' in pointer
2016-07-22 17:39: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
Gyu-Ho Lee
5b288f6cd1
Merge pull request #6030 from gyuho/raft-raft
...
raft: replace 'reflect.DeepEqual' with bytes.Equal
2016-07-22 16:53:11 -07:00
Gyu-Ho Lee
4ff6c72257
raft: replace 'reflect.DeepEqual' with bytes.Equal
2016-07-22 16:34:13 -07:00
Xiang Li
8f4a36fd32
doc: update platform.md
2016-07-22 11:24:19 -07:00
Xiang Li
ec5c5d9ddf
Merge pull request #6021 from xiang90/gateway_test
...
e2e: add gateway test
2016-07-21 16:48:04 -07:00
Xiang Li
c603b5e6a1
e2e: add gateway test
2016-07-21 16:19:54 -07:00
Anthony Romano
2bf55e3a15
Merge pull request #6016 from endocode/kayrus/fix_serve_err_return
...
embed: Fixed serve() err return
2016-07-21 11:17:08 -07:00
kayrus
fee9e2b183
embed: Fixed serve() err return
2016-07-21 18:06:08 +02:00
Gyu-Ho Lee
de638a5e4d
Merge pull request #5991 from gyuho/manual
...
v2http: client certificate auth via common name
2016-07-21 08:02:17 -07:00
Xiang Li
214c1e55b0
Merge pull request #5999 from jlamillan/master
...
Add support for formating output of ls command in json or extended fo…
2016-07-21 07:09:52 -07:00
Anthony Romano
32553c5796
Merge pull request #6006 from dongsupark/dongsu/fix-build-error-go-systemd
...
etcdmain: correctly check return values from SdNotify()
2016-07-21 07:08:58 -07:00
Dongsu Park
624187d25f
etcdmain: correctly check return values from SdNotify()
...
SdNotify() now returns 2 values, sent and err. So startEtcdOrProxyV2()
needs to check the 2 return values correctly. As the 2 values are
independent of each other, error checking needs to be slightly updated
too.
SdNotifyNoSocket, which was previously provided by go-systemd, does not
exist any more. In that case (false, nil) will be returned instead.
2016-07-21 09:19:07 +02:00
Dongsu Park
00c9fe4753
vendor: update go-systemd
...
Godeps.json and vendor need to be updated according to the newest
go-systemd, as SdNotify() in go-systemd has changed its API.
2016-07-21 08:20:52 +02:00
jesse.millan
f18d5433cc
etcdctl: Add support for formating output of ls command in json
...
The ls command will check for and honor json or extended output formats.
Fixes #5993
2016-07-20 18:05:23 -07:00
Gyu-Ho Lee
42db8f55b2
e2e: test auth enabled with CN name cert
2016-07-20 16:55:45 -07:00
Anthony Romano
e001848270
Merge pull request #5772 from heyitsanthony/integration-proxy
...
integration: build tag for proxy
2016-07-20 16:28:12 -07:00
Gyu-Ho Lee
5066981cc7
v2http: test with 'ClientCertAuthEnabled'
2016-07-20 16:24:33 -07:00
Gyu-Ho Lee
25aeeb35c3
v2http: set 'ClientCertAuthEnabled' in client.go
2016-07-20 16:24:15 -07:00
Gyu-Ho Lee
68ece954fb
v2http: add 'ClientCertAuthEnabled' in handlers
2016-07-20 16:23:41 -07:00
Gyu-Ho Lee
be001c44e8
embed: set 'ClientCertAuthEnabled'
2016-07-20 16:23:24 -07:00
Gyu-Ho Lee
9510bd6036
etcdserver: add 'ClientCertAuthEnabled' option
2016-07-20 16:22:59 -07:00
Gyu-Ho Lee
0f0d32b073
v2http: move 'testdata' from 'etcdhttp'
2016-07-20 16:20:42 -07:00
rob boll
ff5709bb41
v2http: client cert cn authentication
...
introduce client certificate authentication using certificate cn.
2016-07-20 16:20:13 -07:00
rob boll
ab17165352
v2http: refactor http basic auth
...
refactor http basic auth code to combine basic auth extraction and validation
2016-07-20 16:20:05 -07:00
Anthony Romano
768ccb8c10
grpcproxy: respect prev_kv flag
2016-07-20 15:58:33 -07:00
Anthony Romano
becbd9f3d6
test: grpcproxy integration test pass
...
Run via
PASSES=grpcproxy ./test
2016-07-20 15:58:33 -07:00
Anthony Romano
7b3d502b96
integration: build tag cluster_proxy for testing backed by proxy
2016-07-20 15:40:33 -07:00
Anthony Romano
17e0164f57
clientv3: add KV constructor using pb.KVClient
2016-07-20 15:40:33 -07:00
Anthony Romano
54df540c2c
grpcproxy: wrapper from pb.KVServer to pb.KVClient
2016-07-20 15:40:33 -07:00
Anthony Romano
15aa64eb3c
Merge pull request #6009 from heyitsanthony/fix-progress-notify
...
v3rpc: don't elide next progress notification on progress notification
2016-07-20 13:46:11 -07:00
Anthony Romano
65d7e7963a
Merge pull request #6011 from heyitsanthony/fix-migrate-test
...
e2e: use a single member cluster in TestCtlV3Migrate
2016-07-20 13:27:17 -07:00
Anthony Romano
8c8742f43c
integration: change timeouts for TestWatchWithProgressNotify
...
a) 2 * progress interval was passing with dropped notifies
b) waitResponse was waiting so long that it expected a dropped notify
2016-07-20 13:23:44 -07:00