antoniomaciej
f62ed3d642
Documentation: link added to libraries-and-tools.md with a new v2 Scala
...
Client
2016-12-05 22:55:17 +01:00
Anthony Romano
b9b14b15d6
Merge pull request #6946 from heyitsanthony/fix-e2e-getrole
...
etcdctl: remove GetUser check before mutable commands
2016-12-05 13:34:52 -08:00
Anthony Romano
62398954e4
grpcproxy: lock store when getting size
...
Fixes data race in proxy integration tests.
2016-12-05 13:29:57 -08:00
Anthony Romano
5559a026d7
etcdctl: remove GetUser check before mutable commands
...
etcdctl was checking if the user exists before applying mutable calls;
if etcdctl contacts a minority member, the member may not know the user
exists on the cluster yet, causing command failure when it should succeed.
If the user does not exist, it will be picked up once the command goes
through raft.
Fixes #6932
2016-12-05 12:12:06 -08:00
Xiang Li
2b6ad93036
Merge pull request #6936 from xiang90/put_rate
...
banchmark: add rate limit
2016-12-05 12:01:15 -08:00
Xiang Li
e62e9ce193
benchmark: add rate limit
2016-12-05 09:54:30 -08:00
Xiang Li
40f0193c4c
Merge pull request #6938 from bdarnell/ispaused
...
raft: Export Progress.IsPaused
2016-12-03 21:51:09 -08:00
Ben Darnell
f60a5d6025
raft: Export Progress.IsPaused
...
CockroachDB would like to use this method for monitoring.
2016-12-04 13:14:08 +08:00
Ben Darnell
340ba8353c
raft: Fix election "logs converge" test
...
The "logs converge" case in TestLeaderElectionPreVote was incorrectly
passing because some nodes were not actually using the preVoteConfig.
This test case was more complex than its siblings and it was not
verifying what it wanted to verify, so pull it out into a separate test
where everything can be tested more explicitly.
Fixes #6895
2016-12-03 17:29:15 +08:00
Xiang Li
d844440ffb
Merge pull request #6930 from xiang90/grpc_metrics
...
grpcproxy: add cache related metrics
2016-12-02 18:30:49 -08:00
Xiang Li
0cb680800e
grpcproxy: add cache related metrics
2016-12-02 15:29:42 -08:00
Xiang Li
1f954dc9f4
Merge pull request #6926 from xiang90/metrics
...
grpcproxy: add richer metrics for watch
2016-12-02 14:13:43 -08:00
Xiang Li
a686c994cd
grpcproxy: add richer metrics for watch
2016-12-02 11:13:30 -08:00
Anthony Romano
f61b4ae5ad
Merge pull request #6921 from heyitsanthony/fix-watch-prevkv-test-leak
...
integration: cancel Watch when TestV3WatchWithPrevKV exits
2016-12-01 15:25:00 -08:00
Anthony Romano
76bb33781f
integration: cancel Watch when TestV3WatchWithPrevKV exits
...
Missing ctx cancel was causing goroutine leaks for the proxy tests.
2016-12-01 15:08:18 -08:00
Gyu-Ho Lee
9647012cb1
Merge pull request #6920 from endocode/dongsu/sdnotify-go-systemd
...
vendor: bump go-systemd to v14 to avoid build error
2016-12-01 10:39:40 -08:00
fanmin shi
b9e9c9483b
Merge pull request #6885 from fanminshi/refractor_lease_checker
...
etcd-tester: refactor lease checker
2016-12-01 10:11:15 -08:00
Dongsu Park
5e351956b9
vendor: bump go-systemd to v14 to avoid build error
...
Bump go-systemd to v14 (48702e0d, 2016-11-14).
Also adjust caller of daemon.SdNotify() to avoid build error, which can
be seen especially when running "go get github.com/coreos/etcd".
2016-12-01 13:26:46 +01:00
Anthony Romano
5d60482357
Merge pull request #6911 from m1093782566/fix-get-sorted
...
store: check sorted order in TestStoreGetSorted
2016-11-30 19:49:55 -08:00
Anthony Romano
4e52b80590
Merge pull request #6916 from heyitsanthony/fix-coalesce-bcast-race
...
grpcproxy: fix race between coalesce and bcast on nextrev
2016-11-30 19:49:10 -08:00
m1093782566
5f2b5e8b9d
store: check sorted order in TestStoreGetSorted
2016-12-01 10:36:23 +08:00
fanmin shi
394ab43587
etcd-tester: refactor lease checker
...
Move few checking logic from lease stresser to lease checker and change connection logic for lease stresser and checker
2016-11-30 17:29:58 -08:00
Anthony Romano
60908c64a6
grpcproxy: fix race between coalesce and bcast on nextrev
...
coalesce was locking the target coalesce broadcast object but not the source
broadcast object resulting in a data race on the source's nextrev.
2016-11-30 16:50:29 -08:00
Anthony Romano
98cd3fddc9
Merge pull request #6907 from heyitsanthony/fix-quota-proxy-failfast
...
integration: use Range to wait for reboot in quota tests
2016-11-30 16:49:54 -08:00
Anthony Romano
f1e0525c81
integration: use Range to wait for reboot in quota tests
...
Proxy client layer ignores call options so Put is always FailFast;
this can lead to connection errors when trying to issue the Put
following restarting the client's target server.
2016-11-30 13:56:30 -08:00
Anthony Romano
7079bf9a75
Merge pull request #6574 from vimalk78/auth-simpletoken-not-removed#6554
...
auth/simple_token.go : token not removed when etcdctl session closes …
2016-11-30 11:33:23 -08:00
Xiang Li
8eec86f7fb
Merge pull request #6888 from fanminshi/use_monotonic_time_for_lease
...
Use monotonic time in lease
2016-11-29 13:39:01 -08:00
fanmin shi
e7f4010cca
lease: Use monotonic time in lease
...
lease uses monotimer to calculate its expiration. In this way, changing system time won't affect in lease expiration.
FIX #6700
2016-11-29 12:31:00 -08:00
Anthony Romano
cac30beed5
Merge pull request #6906 from heyitsanthony/fix-watchclose-race
...
grpcproxy: fix race between watch ranges delete() and broadcasts empty()
2016-11-28 16:26:03 -08:00
Anthony Romano
d680b8b5fb
grpcproxy: fix race between watch ranges delete() and broadcasts empty()
...
Checking empty() wasn't grabbing the broadcasts lock so the race detector
flags it as a data race with coalesce(). Instead, just return the number
of remaining watches following delete() and get rid of empty().
2016-11-28 15:53:41 -08:00
Anthony Romano
a076510cc1
Merge pull request #6905 from heyitsanthony/client-readme
...
client: update README about health monitoring
2016-11-28 13:10:57 -08:00
Gyu-Ho Lee
8aa03a5959
Merge pull request #6884 from gyuho/tls
...
etcdmain: handle TLS in grpc-proxy listener
2016-11-28 12:28:56 -08:00
Anthony Romano
ad16b63cce
client: update README about health monitoring
2016-11-28 12:28:33 -08:00
Vimal Kumar
dfe853ebff
auth: add a timeout mechanism to simple token
2016-11-28 17:21:13 +05:30
Gyu-Ho Lee
c31b1ab8d1
Merge pull request #6896 from gyuho/endpoints
...
clientv3: return copy of endpoints, not pointer
2016-11-23 11:51:48 -08:00
Gyu-Ho Lee
a08103c088
clientv3: return copy of endpoints, not pointer
...
Fix https://github.com/coreos/etcd/issues/6892 .
2016-11-23 11:33:54 -08:00
Gyu-Ho Lee
aea9c6668f
Merge pull request #6890 from gyuho/doc
...
Documentation/op-guide: add notes about 'datasource' in Prometheus
2016-11-22 10:43:30 -08:00
Gyu-Ho Lee
ede51b10f8
op-guide: add notes about Prometheus data source in Grafana
2016-11-22 10:34:41 -08:00
fanmin shi
ec5f9bce63
Merge pull request #6886 from fanminshi/fix_dial_grpc
...
functional-tester: add withBlock() to grpc dial
2016-11-21 11:33:31 -08:00
fanmin shi
f7c721b746
Merge pull request #6867 from fanminshi/fix_checking_timeout
...
etcd-tester: limit max retry backoff delay
2016-11-21 11:20:32 -08:00
fanmin shi
2ccba33dd1
functional-tester: add withBlock() to grpc dial
...
grpc dail withTimeout() only works if withBlock() option is present.
2016-11-21 11:15:12 -08:00
fanmin shi
2ac1c4c9ed
etcd-tester:limit max retry backoff delay
...
grpc uses expoential retry if a connection is lost. grpc will sleep base on exponential delay.
if delay is too large, it slows down tester.
2016-11-21 10:58:55 -08:00
Gyu-Ho Lee
ff96769b55
etcdmain: handle TLS in grpc-proxy listener
2016-11-21 10:39:34 -08:00
Xiang Li
0326d6fdd3
Merge pull request #6877 from coreos/fix_test
...
etcd-tester: do not resolve localhost
2016-11-21 09:52:31 -08:00
Xiang Li
69470b5e5f
Merge pull request #6878 from absolute8511/fix-raftexample-test
...
raftexample: confState should be saved after apply
2016-11-21 09:51:10 -08:00
Xiang Li
d7c98a4695
Merge pull request #6879 from xiang90/raft_test
...
raft: fix TestNodeProposeAddDuplicateNode
2016-11-20 22:19:44 -08:00
Xiang Li
f2eb8560ed
raft: fix TestNodeProposeAddDuplicateNode
...
Only send signal after applying conf change.
Or deadlock might happen if raft node receives
ready without conf change when the test server
is slow.
2016-11-20 21:59:31 -08:00
Xiang Li
859142033f
Merge pull request #6866 from absolute8511/master
...
raft: add node should reset the pendingConf state
2016-11-20 21:34:37 -08:00
Vincent Lee
e6d1ebcc1d
raft: use the channel instead of sleep to make test case reliable
2016-11-21 13:30:15 +08:00
Vincent Lee
bc6f5ad53e
raft: fix test case for data race
2016-11-21 10:30:36 +08:00