Gyu-Ho Lee
43dfefe9e3
Merge pull request #8857 from gyuho/test
...
*: fix naked returns, integrate with CI
2017-11-10 19:12:26 -08:00
Gyu-Ho Lee
75110dd839
*: fix naked returns
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 18:46:15 -08:00
Gyu-Ho Lee
65a606e2e8
test: add naked return checks
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 17:55:55 -08:00
Gyu-Ho Lee
0b03d22b5b
Dockerfile-test: add "alexkohler/nakedret"
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 17:54:55 -08:00
Gyu-Ho Lee
b64c1bfce6
Merge pull request #8840 from gyuho/health-balancer
...
*: refactor clientv3 balancer, upgrade gRPC to v1.7.2
2017-11-10 15:41:00 -08:00
Gyu-Ho Lee
c669ff9765
clientv3: retry mutable ops on "no connection available"
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 15:40:06 -08:00
Gyu-Ho Lee
93f12da1be
vendor: upgrade grpc to v1.7.2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 15:39:43 -08:00
Gyu-Ho Lee
123b869a0f
clientv3/integration: match grpc.ErrClientConnClosing in TestKVNewAfterClose
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 15:39:35 -08:00
Gyu-Ho Lee
103efd922b
clientv3/balancer: only notify healthy addresses
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 15:39:25 -08:00
Gyu-Ho Lee
012b013538
clientv3: combine "healthBalancer" and "simpleBalancer"
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 15:38:05 -08:00
Gyu-Ho Lee
64acd71c11
Merge pull request #8853 from gyuho/ttt
...
clientv3/integration: remove TestKVGetOneEndpointDown
2017-11-10 14:55:00 -08:00
Gyu-Ho Lee
52f4bc9061
clientv3/integration: remove TestKVGetOneEndpointDown
...
Already tested in other server shutdown tests.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 14:46:40 -08:00
Gyu-Ho Lee
dfe0f8c2bc
Merge pull request #8839 from gyuho/test-balancer
...
clientv3/integration: test linearizable get with leader election, network partition
2017-11-10 13:55:11 -08:00
Gyu-Ho Lee
0dbcd7c1a7
Merge pull request #8849 from gyuho/promhttp
...
*: deprecate prometheus.Handler, upgrade Prometheus dependencies
2017-11-10 12:04:05 -08:00
Gyu-Ho Lee
6654ae4c2a
Merge pull request #8851 from gyuho/doc-doc
...
*: highlight gRPC metrics change in v3.1
2017-11-10 11:45:50 -08:00
Gyu-Ho Lee
700c9a50c3
CHANGELOG: highlight metrics change in v3.1
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 11:00:51 -08:00
Gyu-Ho Lee
8d309bf34a
Documentation/upgrades: highlight "go-grpc-prometheus" change
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 10:58:00 -08:00
Gyu-Ho Lee
00b15e38df
words: whitelist prometheus
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 10:08:48 -08:00
tylerauerbeck
993a0cf569
tools: update metrics to use promhttp
...
Update function-tester/etcd-tester/main.go to use promhttp.Handler() instead of prometheus.Handler()
2017-11-10 09:47:49 -08:00
tylerauerbeck
527d03e0d2
etcdserver: update metrics to use promhttp
...
Update api/etcdhttp/metrics.go to use promhttp.Handler() instead of prometheus.Handler()
fixes #8729
2017-11-10 09:47:49 -08:00
tylerauerbeck
973857107e
clientv3: update metrics to use promhttp
...
Update clientv3/example_metrics_test.go and clientv3/integration/metrics_test.go to use promhttp.Handler() instead of prometheus.Handler()
fixes #8729
2017-11-10 09:47:49 -08:00
Gyu-Ho Lee
143de553e6
vendor: upgrade Prometheus dependencies
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 09:47:44 -08:00
Gyu-Ho Lee
7ccde4ac8a
Merge pull request #8850 from gyuho/you
...
hack/patch: remove "you" in markdown doc
2017-11-10 09:39:43 -08:00
Gyu-Ho Lee
bb4637bffe
hack/patch: remove "you" in markdown doc
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-10 08:59:51 -08:00
Xiang Li
75c7e62dc7
Merge pull request #8805 from jpbetz/patch-manager-docs
...
release, documentation, tools: Expand patch management support to the previous two minor versions
2017-11-09 15:06:01 -08:00
Joe Betz
3a0e24e6c5
release, documentation, tools: Expand patch management support to the previous two minor versions
2017-11-09 14:07:54 -08:00
Gyu-Ho Lee
05e5b3b62d
Merge pull request #8845 from tamalsaha/gw13
...
*: upgrade grpc-gateway to v1.3
2017-11-08 22:21:51 -08:00
Gyu-Ho Lee
ec881b0507
scripts/genproto: upgrade protoc to 3.4
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-08 18:50:29 -08:00
Gyu-Ho Lee
7ba4ae01b8
vendor: upgrade grpc-gateway to v1.3
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-08 18:46:32 -08:00
tamal
c0c19465fc
*: upgrade grpc-gateway to v1.3
2017-11-08 18:38:41 -08:00
Gyu-Ho Lee
24c718f7de
Merge pull request #8844 from gyuho/ee
...
etcdmain: do not embed structs (fix go vet warnings)
2017-11-08 15:05:07 -08:00
Gyu-Ho Lee
672d4ae93f
Merge pull request #8843 from gyuho/log
...
store: silence server logs in v2v3 store tests
2017-11-08 15:03:13 -08:00
Gyu-Ho Lee
370ff6b670
etcdmain: do not embed structs (fix go vet warnings)
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-08 14:20:52 -08:00
Gyu-Ho Lee
5cea18baf1
store: silence server logs in v2v3 store tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-08 13:22:00 -08:00
Xiang Li
21178f5119
Merge pull request #8815 from zrss/fix-dbstatus-unexpected-write
...
etcdctl: fix snapshot status accidentally modified the db file
2017-11-08 11:47:06 -08:00
Gyu-Ho Lee
5ed5ee51f5
Merge pull request #8833 from gyuho/release-test
...
semaphore: manually pin last release version for release tests
2017-11-08 11:15:29 -08:00
Gyu-Ho Lee
efb0057513
Merge pull request #8835 from gyuho/log
...
*: disable grpc client log in tests by default
2017-11-08 10:23:53 -08:00
zhesi.huang
0ce02abf59
etcdctl: fix snapshot status accidentally modified the db file
2017-11-09 01:07:48 +08:00
Gyu-Ho Lee
706cf20339
clientv3/integration: test linearizable get with leader election, network partition
...
Test case that failed my balancer refactor https://github.com/coreos/etcd/pull/8834 .
Current, kv network partition tests do not specifically test
isolated leader case.
This PR moves TestKVSwitchUnavailable to network_partition_test.go
and make it always isolate leader.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-07 19:51:24 -08:00
Gyu-Ho Lee
47728b8caf
Merge pull request #8837 from gyuho/timed-out
...
test: fail when test times out
2017-11-07 16:42:26 -08:00
Gyu-Ho Lee
dd35fce66c
test: fail when test times out
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-07 15:30:51 -08:00
Gyu-Ho Lee
f49f5c9094
*: disable grpc client log in tests by default
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-07 15:05:13 -08:00
Gyu-Ho Lee
1b9f96ebc1
semaphore: manually pin last release version for release tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-07 12:27:26 -08:00
Gyu-Ho Lee
d83820d143
Merge pull request #8824 from gyuho/convert-error-code-2
...
api/v3rpc: do not convert server context error to grpc/*status.statusError
2017-11-06 17:59:16 -08:00
Gyu-Ho Lee
f48fe8ecda
api/v3rpc: do not convert server context error to grpc/*status.statusError
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-06 17:32:23 -08:00
Gyu-Ho Lee
9791429524
Merge pull request #8825 from gyuho/lock
...
auth: clean up mutex lock/unlocks
2017-11-06 13:39:47 -08:00
Gyu-Ho Lee
38942a2a51
auth: clean up mutex lock/unlocks
...
Only hold locks when needed.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-06 13:17:29 -08:00
Gyu-Ho Lee
1d01aaa395
Merge pull request #8823 from gyuho/pre-allocate
...
*: preallocate slice (instead of append)
2017-11-06 12:53:46 -08:00
Gyu-Ho Lee
568b856be8
auth: pre-allocate slices in store
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-06 09:16:15 -08:00
Gyu-Ho Lee
ba233e2f4d
etcdserver: preallocate slice in apply
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-06 09:13:12 -08:00