Anthony Romano
327b01169c
Merge pull request #5353 from heyitsanthony/clientv3-throttle-reconn
...
clientv3: throttle reconnection rate
2016-05-16 13:41:28 -07:00
Anthony Romano
f6e5fe6877
Merge pull request #5368 from heyitsanthony/sshot-hash
...
v3rpc, etcdctl: snapshot integrity hash
2016-05-16 13:09:02 -07:00
Anthony Romano
798718c49b
etcdctl: verify snapshot hash on restore
...
Fixes #4097
2016-05-16 12:08:08 -07:00
Anthony Romano
ac2e3e43bf
v3rpc: add sha trailer to snapshot
2016-05-16 11:15:03 -07:00
Anthony Romano
e8101ddf09
clientv3: throttle reconnection rate
...
Client was reconnecting after establishing connections because the lease
and watch APIs were thrashing. Instead, wait a little before accepting
new reconnect requests.
2016-05-16 11:14:45 -07:00
Anthony Romano
3c3bb3f97c
godep: add golang.org/x/time/rate
2016-05-16 11:14:45 -07:00
Xiang Li
a663828a32
Merge pull request #5366 from xiang90/fix_restore
...
raft: do not panic when removing all the nodes from cluster
2016-05-16 10:45:48 -07:00
Xiang Li
29c77dee74
Merge pull request #5298 from purpleidea/feat/newurlsmap
...
pkg/types: Build a urls map from a string map
2016-05-16 10:39:14 -07:00
Anthony Romano
8ffbaef502
Merge pull request #5364 from heyitsanthony/fix-election-wait
...
integration: fix TestElectionWait
2016-05-16 10:30:17 -07:00
Anthony Romano
e52fc2d07e
Merge pull request #5363 from heyitsanthony/fix-test-wait
...
test: fix wait on integration tests
2016-05-16 10:28:45 -07:00
Xiang Li
910781ef5b
raft: do not panic when removing all the nodes from cluster
2016-05-16 10:04:17 -07:00
Anthony Romano
c21b885dd5
integration: fix TestElectionWait
...
elections are now per-session so waiting on the same election with the
same client will not block like before
Fixes #5362
2016-05-16 07:32:42 -07:00
Anthony Romano
e312bb675c
test: fix wait on integration tests
...
Typo was causing failed tests to look like they passed on CI.
2016-05-16 06:32:38 -07:00
Xiang Li
46481b17fc
Merge pull request #5356 from xiang90/grpc-proxy
...
proxy: initial grpc kv service proxy
2016-05-14 12:31:06 -07:00
Anthony Romano
2d3a8541d0
Merge pull request #5355 from heyitsanthony/cluster-security-doc
...
doc: add TLS examples to clustering guide
2016-05-14 10:44:06 -07:00
James Shubin
d41ce0a97c
pkg/types: Add tests for NewURLsMapFromStringMap
2016-05-14 10:48:56 -04:00
James Shubin
17e23769d9
pkg/types: gofmt existing code
2016-05-14 09:33:58 -04:00
James Shubin
029fe6bf47
pkg/types: Build a urls map from a string map
...
This adds a simple transformation function which is helpful when
manipulating the different etcd internal data representations.
2016-05-14 09:33:58 -04:00
Xiang Li
ec2ac72585
proxy: initial grpc kv service proxy
2016-05-13 23:00:29 -07:00
Anthony Romano
25850e0070
doc: add TLS examples to clustering guide
...
Fixes #3595
2016-05-13 17:10:41 -07:00
Xiang Li
deb21d3da5
Merge pull request #5352 from xiang90/p
...
integration: remove parallel testing
2016-05-13 13:24:36 -07:00
Gyu-Ho Lee
410c5cd828
Merge pull request #5351 from gyuho/allow_null_key
...
etcdctl/ctlv3: allow empty key
2016-05-13 12:26:59 -07:00
Xiang Li
c7c0e1eb7a
integration: remove parallel testing
...
We cannot do testing in parallel since leak testing will detect the goroutines
in other tests running in parallel.
2016-05-13 12:01:25 -07:00
Gyu-Ho Lee
002090daec
e2e: test empty key for get command
2016-05-13 11:30:36 -07:00
Gyu-Ho Lee
3ec627d1a8
etcdctl/ctlv3: allow empty key
...
Fix https://github.com/coreos/etcd/issues/5323 .
2016-05-13 11:29:58 -07:00
Anthony Romano
8c953499fa
Merge pull request #5349 from heyitsanthony/clientv3-conc-fixups
...
clientv3/concurrency: ctx-izations and session leader ids
2016-05-13 10:33:55 -07:00
Anthony Romano
120020fa9c
clientv3/concurrency: use session id for election keys to avoid deadlock
2016-05-13 10:07:35 -07:00
Anthony Romano
393725fe5f
clientv3/concurrency: ctx-ize Leader(), Resign(), and Unlock()
2016-05-13 10:07:35 -07:00
Anthony Romano
2e93c65c96
bridge: fix command line flag handling
...
flag package expects flags in Argv[1:] and stops on non-flag arguments
but bridge was expecting the forwarding address in os.Argv[1]
2016-05-13 10:07:35 -07:00
Xiang Li
4d2424210f
Merge pull request #5313 from xiang90/fix_raft_abort
...
raft: simplify leadership transfer
2016-05-13 09:26:01 -07:00
Anthony Romano
4612e2d59a
Merge pull request #5340 from heyitsanthony/etcd-runner-election
...
etcd-runner: election mode
2016-05-12 22:53:35 -07:00
Anthony Romano
4fe91ed1e2
etcd-runner: election mode
2016-05-12 22:32:33 -07:00
Anthony Romano
215afb9b1d
etcd-runner: refactor round code
2016-05-12 22:32:33 -07:00
Gyu-Ho Lee
66e5e4f298
Merge pull request #5344 from gyuho/license_authors
...
*: update LICENSE header
2016-05-12 21:18:35 -07:00
Gyu-Ho Lee
71e6c4b06a
.header: update to 'etcd Authors'
2016-05-12 20:56:50 -07:00
Gyu-Ho Lee
ef44f71da9
*: update LICENSE header
2016-05-12 20:51:48 -07:00
Gyu-Ho Lee
c538e0f9a9
etcdctl: update LICENSE header
2016-05-12 20:51:39 -07:00
Gyu-Ho Lee
2a44b9636a
auth: update LICENSE header
2016-05-12 20:51:14 -07:00
Gyu-Ho Lee
fd9e07a529
clientv3: update LICENSE header
2016-05-12 20:50:58 -07:00
Gyu-Ho Lee
9d9f02c1ee
mvcc: update LICENSE header
2016-05-12 20:50:33 -07:00
Gyu-Ho Lee
3d523e34b1
tools: update LICENSE header
2016-05-12 20:50:17 -07:00
Gyu-Ho Lee
4a5befc2de
wal: update LICENSE header
2016-05-12 20:50:04 -07:00
Gyu-Ho Lee
abb4cd5646
etcdserver: update LICENSE header
2016-05-12 20:49:40 -07:00
Gyu-Ho Lee
bd71a60875
rafthttp: update LICENSE header
2016-05-12 20:49:28 -07:00
Gyu-Ho Lee
fe884f8209
raft: update LICENSE header
2016-05-12 20:49:15 -07:00
Gyu-Ho Lee
8b77de4e99
pkg: update LICENSE header
2016-05-12 20:48:53 -07:00
Xiang Li
a880e9c7cb
Merge pull request #5332 from xiang90/sl
...
*: cancel required leader streams when memeber lost its leader
2016-05-12 20:24:34 -07:00
Gyu-Ho Lee
15c5259e2d
Merge pull request #5328 from gyuho/require_leader
...
requireHasLeader client side
2016-05-12 19:53:43 -07:00
Xiang Li
9c103dd0de
*: cancel required leader streams when memeber lost its leader
2016-05-12 19:42:21 -07:00
Gyu-Ho Lee
68eaf4083a
clientv3: WithRequireLeader
2016-05-12 19:25:42 -07:00