Anthony Romano
8dcd24bd64
clientv3: withOption for Gets
2016-02-08 13:11:55 -08:00
Xiang Li
35567221a7
*: limit request size for v3
2016-02-08 12:54:03 -08:00
Anthony Romano
2a261e1b03
Merge pull request #4438 from adamwg/raftexample-add-nodes
...
Reconfiguration for raftexample (#4018 )
2016-02-08 12:46:07 -08:00
Adam Wolfe Gordon
ffd61c0faf
contrib/raftexample: Update README to reflect dynamic configuration changes ( fixes #4018 )
2016-02-08 13:03:25 -07:00
Xiang Li
b72a0788ad
Merge pull request #4439 from xiang90/fix_tr
...
transport: make tr stop safe
2016-02-08 11:25:03 -08:00
Xiang Li
ea688c1f06
transport: make tr stop safe
2016-02-08 11:13:52 -08:00
Adam Wolfe Gordon
4a527be302
contrib/raftexample: Allow nodes to be removed from a running cluster
...
A node with ID n can be removed by DELETEing /n on the HTTP server.
2016-02-08 10:51:06 -07:00
Adam Wolfe Gordon
7c0b6d9be9
contrib/raftexample: Allow nodes to be added to a running cluster
...
A node with ID n can be added by POSTing the new node's URL to /n on the
HTTP server.
2016-02-08 10:51:06 -07:00
Adam Wolfe Gordon
7d862960cc
contrib/raftexample: Add a channel for proposing config changes
...
Add a channel over which we can propose cluster config changes to
raft. In an upcoming commit we'll add an HTTP endpoint that sends config
changes over this channel.
2016-02-08 10:51:06 -07:00
Adam Wolfe Gordon
eb7fef559d
contrib/raftexample: Handle conf change entries
...
So far we don't propose conf changes, but we'll be ready to handle them
when we do.
2016-02-08 10:51:03 -07:00
Caleb Champlin
82778ed478
Add refresh parameter to allow TTL refreshes without firing watch/wait responses
2016-02-08 10:37:37 -07:00
Gyu-Ho Lee
2be7f7c2fb
Merge pull request #4448 from gyuho/f0
...
etcd-tester: add compactKV every case, clean up logs
2016-02-06 15:14:41 -08:00
Gyu-Ho Lee
08dbabdb5f
etcd-tester: add compactKV
...
It compacts storage for every case.
For https://github.com/coreos/etcd/issues/4380 .
2016-02-06 15:02:58 -08:00
Xiang Li
e7a5899582
Merge pull request #4410 from mitake/security-options
...
etcdctlv3: handle empty options related to security
2016-02-05 20:56:27 -08:00
Gyu-Ho Lee
6d12bf4951
Merge pull request #4445 from gyuho/func
...
etcd-tester: log cancel in stresser
2016-02-05 18:47:42 -08:00
Gyu-Ho Lee
044f7775e3
etcd-tester: log cancel in stresser
...
And fix some minor print formats.
2016-02-05 18:31:27 -08:00
Anthony Romano
38ab8aade4
Merge pull request #4437 from heyitsanthony/fix-testv2ctlwatch
...
e2e: fix race in etcdctl watch tests
2016-02-05 17:05:10 -08:00
Anthony Romano
c8fc3413b7
Merge pull request #4431 from heyitsanthony/rafthttp-localurl
...
rafthttp: plumb local peer URLs through transport
2016-02-05 16:56:32 -08:00
Anthony Romano
b7eb539b7a
clientv3/integration: add delay after restart in TestTxnWriteFail
...
CI was timing out with publish failures
2016-02-05 16:44:41 -08:00
Anthony Romano
fe7cfe4d3d
rafthttp: plumb local peer URLs through transport
2016-02-05 16:44:41 -08:00
Xiang Li
a1ea70e36d
Merge pull request #4442 from xiang90/rpc_err
...
*: add etcdserver namespace for rpc error
2016-02-05 15:22:35 -08:00
Xiang Li
bc3fc4ea33
*: add etcdserver namespace for rpc error
2016-02-05 15:13:24 -08:00
Brandon Philips
6fc1fdc0b1
Merge pull request #4441 from philips/add-videos-to-v3-doc
...
Documentation: add more context on the v3 API
2016-02-05 14:45:16 -08:00
Brandon Philips
ef86b0972c
Documentation: add more context on the v3 API
...
Add links to videos we have recorded and some context besides just the
bullet points.
2016-02-05 14:43:14 -08:00
Gyu-Ho Lee
054a4f3d7a
Merge pull request #4433 from gyuho/f0
...
functional-tester/etcd-tester: silent grpclog, get revs, sleep longer
2016-02-05 14:09:07 -08:00
Gyu-Ho Lee
09fc764552
functional-tester/etcd-tester: silent grpclog, check revs
2016-02-05 14:04:58 -08:00
Adam Wolfe Gordon
a31f9a8af1
contrib/raftexample: Publish only committed entries
...
We shouldn't publish entries to the kvstore until they've been
committed.
2016-02-05 13:59:49 -07:00
Xiang Li
8f3e17b781
Merge pull request #4436 from heyitsanthony/txnfail-reconn
...
clientv3: retry remote connection on txn write failure
2016-02-05 12:52:16 -08:00
Anthony Romano
6bbb916b47
e2e: fix race in etcdctl watch tests
2016-02-05 12:27:05 -08:00
Anthony Romano
a6008f41e2
clientv3: retry remote connection on txn write failure
2016-02-05 11:51:44 -08:00
Xiang Li
c6455ba2ce
Merge pull request #4434 from xiang90/bolt
...
use initial map flag in bolt
2016-02-05 11:40:39 -08:00
Xiang Li
26c645f049
storage/backend: set initial db size to avoid potential deadlock
2016-02-05 11:29:16 -08:00
Xiang Li
8156a58ba3
godep: update bolt
2016-02-05 11:29:16 -08:00
Anthony Romano
7960bd8690
Merge pull request #4430 from heyitsanthony/clientv3-test-kv-retry
...
clientv3/integration: test Get retry
2016-02-05 11:17:54 -08:00
Anthony Romano
0385734111
clientv3/integration: KV retry tests
...
make sure Get will succeed after reconnect cycle with and without Put failure
2016-02-05 10:56:42 -08:00
Anthony Romano
d0977d59ce
Merge pull request #4429 from heyitsanthony/fix-testtxnwritefail
...
clientv3/integration: add timeouts to TestTxnWriteFail
2016-02-05 10:37:44 -08:00
Anthony Romano
e3e4d09653
clientv3/integration: add timeouts to TestTxnWriteFail
...
so it doesn't take ten minutes to fail
2016-02-05 10:24:56 -08:00
Gyu-Ho Lee
c3fd2f95f0
Merge pull request #4432 from gyuho/f0
...
functional-tester/etcd-agent: configurable log path
2016-02-05 10:22:20 -08:00
Gyu-Ho Lee
e2b5b1cd1a
functional-tester/etcd-agent: configurable log path
2016-02-05 09:37:24 -08:00
Xiang Li
2cd1cc4111
Merge pull request #4428 from gyuho/f0
...
functional-tester/etcd-agent: configurable agent port
2016-02-04 21:40:33 -08:00
Gyu-Ho Lee
8e1325d9e1
functional-tester/etcd-agent: configurable agent port
...
To make local testing easier.
2016-02-04 21:10:30 -08:00
Hitoshi Mitake
7abd21ee44
etcdctlv3: handle empty options related to security
...
Current etcdctlv3 doesn't handle options related to security when they
are not passed. Connections cannot be established and etcd produces
logs like this:
```
14:09:07 etcd1 | 2016/02/04 14:09:07 transport: http2Server.HandleStreams received bogus greeting from client: "\x16\x03\x01\x00\x9a\x01\x00\x00\x96\x03\x03\xf6\t\xda\x06QV\xb4\xdd\xc1gF\x1cC"
```
This commit fixes the problem. In addition, a case that empty strings
are passed to the options (e.g. --key="") are treated as error.
2016-02-05 13:31:37 +09:00
Gyu-Ho Lee
f003e421f5
Merge pull request #4426 from gyuho/f0
...
etcd-agent: fix data-dir path check
2016-02-04 18:34:16 -08:00
Gyu-Ho Lee
220d0c3c14
etcd-agent: fix data-dir path check
...
Need one more dash to match 'data-dir' flag.
2016-02-04 16:53:01 -08:00
Xiang Li
2897fb0c5c
Merge pull request #4412 from gyuho/f0
...
functional-tester: fix grpc endpoint, consistent check
2016-02-04 15:45:24 -08:00
Gyu-Ho Lee
85a4a5b596
functional-tester: fix grpc endpoint, consistent check
...
And some clean ups.
2016-02-04 15:10:43 -08:00
Gyu-Ho Lee
a60173f79c
Merge pull request #4421 from jonboulle/master
...
docs: remove old client-matrix link
2016-02-04 14:15:26 -08:00
Gyu-Ho Lee
d21ef68a0c
Merge pull request #4413 from gyuho/TestKVCompact
...
clientv3/integration: add TestKVCompact
2016-02-04 14:14:37 -08:00
Xiang Li
60085a05f1
Merge pull request #4423 from xiang90/id
...
pkg/idutil: reduce conflict rate from 1% to 0.005%
2016-02-04 14:13:11 -08:00
Gyu-Ho Lee
5b4b1c7039
clientv3/integration: add TestKVCompact
2016-02-04 13:45:51 -08:00