Joe Betz
f84f554301
clientv3: Fix auth client to use endpoints instead of host when dialing, fix tests to block on dial when required.
2018-06-15 13:41:28 -07:00
Joe Betz
66e65cd660
clientv3: Avoid timeouts in ordering test
2018-06-15 13:41:28 -07:00
Gyuho Lee
bb032f3e5f
clientv3: deprecate "grpc.WithTimeout" in favor of "grpc.DialContext"
...
"grpc.WithTimeout" dial option is being deprecated.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Gyuho Lee
994a569f53
clientv3: pass "grpc.WithBlock" on "TestDialTimeout"
...
Otherwise, grpc.DialContext would just return before
connection is up.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Gyuho Lee
037d7b4abe
clientv3: dial with context when creating authenticator
...
Otherwise, "grpc.Dial" blocks when "grpc.WithTimeout" dial
option gets deprecated.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Joe Betz
7ac2a2dd20
clientv3: Fix dialer for new balancer to correctly handle first are as endpoint, not hostname
2018-06-15 13:41:28 -07:00
Joe Betz
309208dbef
clientv3: Split out grpc balancer builder to ensure there is a balancer per ClientConn
2018-06-15 13:41:28 -07:00
Joe Betz
12acfc057a
vendor: upgrade grpc/grpc-go to v1.11.3
2018-06-15 13:41:28 -07:00
Joe Betz
f20a1173d8
clientv3: Fix new load balancer integration issues
2018-06-15 13:41:28 -07:00
Joe Betz
6080fa1270
clientv3: Integrate new grpc load balancer interface with etcd client
2018-06-15 13:41:28 -07:00
Joe Betz
ed6bc2b554
clientv3: add load balancer unix socket test
2018-06-15 13:41:28 -07:00
Joe Betz
4d2a25b056
clientv3/balancer: add endpoints resolver
2018-06-15 13:41:28 -07:00
Gyuho Lee
9867210a54
clientv3/balancer: add "TestRoundRobinBalancedPassthrough" (WIP)
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Gyuho Lee
370761de82
clientv3/balancer: add more failover tests with resolver
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Gyuho Lee
7c92185fe3
clientv3/balancer: use new mock server in tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Gyuho Lee
f1aa428a38
pkg/mock/mockserver: support restart
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Joe Betz
657c2e15cc
*: introduce mock server for testing load balancing and add a simple happy-path load balancer test
...
Author: Joe Betz <jpbetz@google.com>
Date: Wed Mar 28 15:51:33 2018 -0700
2018-06-15 13:41:28 -07:00
Gyuho Lee
7fe4a08fdc
clientv3/balancer: initial commit
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Gyuho Lee
6e2bf40015
vendor: upgrade "grpc/grpc-go" to v1.11.1
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:41:28 -07:00
Gyuho Lee
b241e383fd
Merge pull request #9858 from gyuho/lll
...
etcdserver: clean up election tick timeout log output
2018-06-15 13:40:44 -07:00
Gyuho Lee
bd8ab3df93
Merge pull request #9857 from gyuho/quota-log
...
etcdserver: log quota only once
2018-06-15 13:40:30 -07:00
Gyuho Lee
52ffe9f79a
etcdserver: clean up election tick timeout log output
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:35:25 -07:00
Gyuho Lee
929d390520
etcdserver: log quota only once
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:13:44 -07:00
Gyuho Lee
8990126c17
rafthttp: add "RaftDropHeartbeat" failpoint
...
To simulate network partition locally.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:10:58 -07:00
Gyuho Lee
9a7205cac8
README: fix docs badge
2018-06-15 13:10:58 -07:00
Gyuho Lee
c7ca32b143
README: add " https://etcd.readthedocs.io/en/latest " badge
2018-06-15 13:10:58 -07:00
Gyuho Lee
1136ba0e0d
raft: fix logger variadic parameter
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-15 13:10:58 -07:00
Gyuho Lee
9054786553
Revert "raft: fix logger Panic variadic parameter"
...
This reverts commit 5a94aba33eeb504e7036a27268c67f6a1796445e.
2018-06-15 13:10:58 -07:00
sudeesh john
e07d19e549
raft: fix logger Panic variadic parameter
...
"# github.com/coreos/etcd/raft
raft/logger.go:117: missing ... in args forwarded to print-like function"
New parameter check got added the golang to check the function parameter
c006036075 (diff-8fa5b0d6191706747ef5773f895781c9)
2018-06-15 13:10:58 -07:00
Gyuho Lee
7ae862cba5
CHANGELOG-3.3: update date
2018-06-15 13:10:58 -07:00
Gyuho Lee
7e42c66c34
words: whitelist "__lostleader" from watcher branch
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-14 16:14:01 -07:00
Gyuho Lee
de950842c5
words: whitelist more from balancer branch
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-14 15:19:26 -07:00
Gyuho Lee
7bc414897e
words: add more from balancer branch
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-14 15:04:29 -07:00
Gyuho Lee
5ba680d762
docs: initial commit for architecture docs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-14 12:56:09 -07:00
Gyuho Lee
13e7447a2d
CHANGELOG-3.2: highlight watch client backport
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-14 10:53:37 -07:00
Gyuho Lee
edab6486c4
CHANGELOG: highlight vendor updates, clientv3 change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-14 10:45:39 -07:00
Gyuho Lee
410d28c976
Merge pull request #9840 from liggitt/client-hotloop
...
Backoff on reestablishing watches when Unavailable errors are encountered
2018-06-14 09:34:02 -07:00
Gyuho Lee
03cec4acb9
Merge pull request #9849 from wenjiaswe/changelog49848
...
CHANGELOG-3.1: update from #9848
2018-06-13 16:48:53 -07:00
Wenjia Zhang
85fc165249
CHANGELOG-3.1: update from #9848
2018-06-13 16:43:53 -07:00
Gyuho Lee
51a209c56f
Makefile: grep "DATA RACE" for tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-13 16:24:08 -07:00
Gyuho Lee
ecd769c11a
Merge pull request #9846 from wenjiaswe/changelog49845
...
CHANGELOG: update from #9845
2018-06-13 16:10:32 -07:00
Wenjia Zhang
85cb97a171
CHANGELOG: update from #9845
2018-06-13 16:08:00 -07:00
Gyuho Lee
271f8d6365
Merge pull request #9844 from gyuho/aaa
...
tests: run coverage tests in Semaphore
2018-06-13 14:36:17 -07:00
Gyuho Lee
0d13176c99
tests/e2e: do not run cipher suite tests in coverage tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-13 14:32:27 -07:00
Gyuho Lee
8b5cd847d0
tests/semaphore.test.bash: use "sudo" for docker, clean up
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-13 13:52:56 -07:00
Gyuho Lee
bf34c6a13b
tests: run coverage tests in Semaphore
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-13 13:21:08 -07:00
Gyuho Lee
5277105e1c
Merge pull request #9843 from gyuho/semaphore-proxy
...
tests: run proxy tests in Semaphore
2018-06-13 13:14:04 -07:00
Gyuho Lee
1be4f7526c
tests/semaphore.test.bash: match "DATA RACE"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-13 13:06:33 -07:00
Gyuho Lee
8147e9260f
tests: run proxy tests in Semaphore
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-06-13 12:57:39 -07:00
Gyuho Lee
f44abd219a
Merge pull request #9842 from gyuho/ttt
...
travis: combine all build tests
2018-06-13 12:42:23 -07:00