fanmin shi
2ca1823a96
v3rpc: LeaseTimeToLive returns TTL=-1 resp on lease not found
2017-02-10 16:33:31 -08:00
fanmin shi
9b72c8ba1b
Merge pull request #7285 from fanminshi/uses_direct_client_call_for_tests
...
clientv3: integration test uses direct client calls
2017-02-07 12:09:37 -08:00
fanmin shi
366e689eae
clientv3: uses direct client calls in integration tests
...
clientv3 integration test was using clientv3.NewKV, clientv3.NewWatcher, etc to create specific client.
replace those with direct client calls so that the direct calls can also test grpc proxy.
2017-02-07 11:09:19 -08:00
fanmin shi
0944a50d3f
Merge pull request #7288 from fanminshi/fix_TestLeaseKeepAliveInitTimeout_test
...
clientv3/integration: stop member before keepalive in TestLeaseKeepAliveInitTimeout
2017-02-07 10:48:54 -08:00
fanmin shi
c182428e52
clientv3/integration: stop member before keepalive in TestLeaseKeepAliveInitTimeout
2017-02-07 10:07:03 -08:00
Gyu-Ho Lee
bf5ecf6555
Merge pull request #7262 from mkumatag/ppc64le_binary
...
scripts: Add support to build ppc64le binary for release
2017-02-07 09:52:12 -08:00
Anthony Romano
cf5cc18f02
Merge pull request #7286 from heyitsanthony/lease-snip-cancel-stop
...
clientv3: remove cancelWhenStop from lease implementation
2017-02-07 09:12:34 -08:00
Anthony Romano
a213b3abf5
clientv3: remove cancelWhenStop from lease implementation
...
Only have Close() cancel out outstanding goroutines. Canceling out
single-shot RPCs will mask connection close on client.Close().
2017-02-06 17:21:46 -08:00
Anthony Romano
739accc242
Merge pull request #7281 from heyitsanthony/no-default-ka
...
clientv3: only start lease stream after first keepalive call
2017-02-06 13:51:43 -08:00
Anthony Romano
a9f10bdeee
clientv3: only start lease stream after first keepalive call
...
Fixes #7274
2017-02-06 11:52:57 -08:00
Xiang Li
6fb99a8585
Merge pull request #7276 from fanminshi/fix_lease_keep_alive_loop
...
clientv3: sends keepalive reqs immediately after lease keep alive stream reset
2017-02-04 21:28:56 -08:00
Gyu-Ho Lee
4d055ca73b
Merge pull request #7277 from gyuho/second-point
...
pkg/report: add min/max latency per second
2017-02-04 12:47:12 -08:00
Gyu-Ho Lee
950a9da9d9
pkg/report: add min/max latency per second
...
For https://github.com/coreos/dbtester/issues/221 .
2017-02-04 12:46:54 -08:00
fanmin shi
720234d32b
clientv3: sends keepalive reqs immediately after lease keep alive stream reset
...
when lease client reset lease keep alive stream, sendKeepAliveLoop() should send out keep alive reqs immediately instead of waiting for 500ms.
2017-02-03 16:36:24 -08:00
Anthony Romano
23b5a29101
Merge pull request #7273 from heyitsanthony/snip-prom
...
clientv3: add DialOptions to config
2017-02-03 15:54:20 -08:00
Anthony Romano
8c43bd06a0
clientv3: add DialOptions to config
...
Removes strict prometheus dependency.
Fixes #7058
2017-02-03 12:00:20 -08:00
Xiang Li
4203c766fb
Merge pull request #7270 from gyuho/pkg
...
pkg/netutil: name GetDefaultInterfaces consistent
2017-02-03 08:06:15 -08:00
Gyu-Ho Lee
01a1dae7ae
pkg/netutil: name GetDefaultInterfaces consistent
2017-02-03 00:37:31 -08:00
Anthony Romano
d159353d51
Merge pull request #7268 from heyitsanthony/proxy-test-clientv3
...
test: add proxy tests for clientv3 integration tests
2017-02-02 20:31:05 -08:00
Anthony Romano
ae5c89ff12
Merge pull request #7266 from heyitsanthony/snip-yaml
...
clientv3: remove strict yaml dependency
2017-02-02 16:07:12 -08:00
Xiang Li
56c706ff91
Merge pull request #7269 from sinsharat/use_requestWithContext_for_cancel
...
*: Use http.Request.WithContext instead of Cancel
2017-02-02 09:53:09 -08:00
Anthony Romano
e42fa18ccf
grpcproxy: don't use WithRequireLeader for watch event stream
...
Ohterwise leader loss will reject all stream creation.
2017-02-02 09:32:25 -08:00
sharat
9def4cb9fe
*: Use http.Request.WithContext instead of Cancel
2017-02-02 22:50:07 +05:30
Anthony Romano
e3f4b43614
test: clientv3 integration tests with proxy
2017-02-01 22:04:18 -08:00
Anthony Romano
b465b48476
clientv3: remove strict yaml dependency
...
Moved to clientv3/yaml
2017-02-01 21:02:45 -08:00
Xiang Li
42e7d4d09d
Merge pull request #7255 from sinsharat/use_requestWithContext_for_cancel
...
rafthttp: use http.Request.WithContext instead of Cancel
2017-02-01 15:49:43 -08:00
Xiang Li
f74142187d
Merge pull request #7263 from Rushit/test_isadminpermited
...
auth: test for AuthStore.IsAdminPermitted
2017-02-01 13:46:31 -08:00
sharat
2656b594bb
rafthttp: use http.Request.WithContext instead of Cancel
2017-02-02 02:30:36 +05:30
Manjunath A Kumatagi
5d41e7f09b
scripts: Add support to build ppc64le binary for release
2017-02-02 00:45:56 +05:30
Rushit
beef5eea37
auth: test for AuthStore.IsAdminPermitted
...
This will cover test for AuthStore.IsAdminPermitted in store.go
2017-02-01 08:39:09 -08:00
Xiang Li
0df1822212
Merge pull request #7257 from Rushit/auth_test
...
auth: unit-test for authStore.AuthDisable()
2017-01-31 20:45:39 -08:00
rpatel
46cac6f292
auth: unit-test for authStore.AuthDisable()
...
This will cover unit-test for AuthDisable in store.go
2017-01-31 18:18:56 -08:00
Xiang Li
89bb9048dd
Merge pull request #6881 from mitake/auth-v3-cn
...
authenticate clients based on certificate CommonName in v3 API
2017-01-31 17:21:53 -08:00
Xiang Li
c6e9892af4
Merge pull request #7256 from Felixoid/issue_7219
...
netutil: add dualstack to linux_route
2017-01-31 16:49:40 -08:00
felixoid
0f53ad0b84
netutil: add dualstack to linux_route
...
in v3.1.0 netutil couldn't get default interface for ipv6only hosts
Fixes #7219
2017-01-31 22:19:47 +03:00
Hitoshi Mitake
cd9f0a1721
e2e: add a case for CommonName auth of v3 API
2017-01-31 17:22:12 +09:00
Hitoshi Mitake
0191509637
auth, etcdserver: authenticate clients based on certificate CommonName
...
This commit lets v3 auth mechanism authenticate clients based on
CommonName of certificate like v2 auth.
2017-01-31 17:22:12 +09:00
Xiang Li
7d6280fa82
Merge pull request #7248 from ravigadde/session-w-lease
...
clientv3: start a session with existing lease
2017-01-30 20:12:23 -08:00
Ravi Gadde
c586218ec6
clientv3: start a session with existing lease
...
This change is needed to handle process restarts with elections. When the
leader process is restarted, it should be able to hang on to the leadership
by using the existing lease.
Fixes #7166
2017-01-30 18:07:22 -08:00
Xiang Li
d2716fc5ae
Merge pull request #7238 from mkumatag/support_ppc64le
...
ppc64le platform support
2017-01-26 21:16:33 -08:00
Manjunath A Kumatagi
9767098331
etcdmain: ppc64le platform support
2017-01-26 21:08:07 -08:00
Hitoshi Mitake
f127f462c6
Merge pull request #7229 from Rushit/auth-tests
...
auth: Adding unit tests
2017-01-27 11:52:03 +09:00
Gyu-Ho Lee
75ae50a90f
Merge pull request #7243 from gyuho/doc
...
contrib: add etcd cluster deploy on systemd docs
2017-01-26 17:04:21 -08:00
Xiang Li
5dace5f6dc
Merge pull request #7242 from xiang90/fix_test
...
e2e: do not remove the member we connect to
2017-01-26 16:59:03 -08:00
Gyu-Ho Lee
19d30fd4a7
contrib: add etcd cluster deploy on systemd docs
...
Fix https://github.com/coreos/etcd/issues/5971
2017-01-26 16:56:55 -08:00
Xiang Li
78540c5e7b
e2e: do not remove the member we connect to
2017-01-26 15:43:27 -08:00
fanmin shi
3351a71e84
Merge pull request #7240 from fanminshi/balancer_fix
...
clientv3: fix balancer update address bug
2017-01-26 15:08:50 -08:00
Xiang Li
ae2e8fa462
Merge pull request #7241 from nmiyake/fixTestMessage
...
test: fix failure message in TestEmbedEtcd
2017-01-26 14:42:02 -08:00
fanmin shi
18af48a9dc
integration: add test case in dial_test to ensure balancer.updateAddrs works properly
2017-01-26 14:21:29 -08:00
Nick Miyake
e3b325c196
test: fix failure message in TestEmbedEtcd
2017-01-26 14:00:32 -08:00