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
Xiang Li
e44e753e66
pkg/idutil: reduce conflict rate from 1% to 0.005%
...
Perviously, we only use 8bits from member identification
in id generation. The conflict rate is A(256,3)/256^3, which
is around 1%. Now we use 16bites to reduce the rate to 0.005%.
We can attach the full member id into id generation if needed...
2016-02-04 13:25:18 -08:00
Jonathan Boulle
f19ff0c39d
docs: remove old client-matrix link
...
This document was removed in 23406dc2ee261dcdcfd35b2dbad29a55e09bc9fc
but still linked to here.
2016-02-04 20:32:15 +01:00
Xiang Li
0cdf1c45cf
Merge pull request #4418 from xiang90/ci
...
pkg/wait: make id checking stricter
2016-02-04 10:50:11 -08:00
Xiang Li
d43bd48977
pkg/wait: make id checking stricter
...
Do not allow register with same id.
2016-02-04 09:59:49 -08:00
Anthony Romano
a0b00a5b89
Merge pull request #4409 from heyitsanthony/v3-txn-tests
...
clientv3/integration: txn tests
2016-02-04 09:30:52 -08:00
Anthony Romano
9523c2d29f
clientv3/integration: txn tests
2016-02-04 08:40:24 -08:00
Gyu-Ho Lee
26f440be7c
Merge pull request #4406 from gyuho/f0
...
*: functional-tester with v3
2016-02-03 15:54:10 -08:00
Anthony Romano
c07fc3e08e
Merge pull request #4407 from heyitsanthony/txn-no-retry
...
clientv3: don't retry txns that may modify the store
2016-02-03 15:37:49 -08:00
Anthony Romano
16dcade07d
Merge pull request #4402 from heyitsanthony/minority-failure
...
rafthttp: add leader to transport if peer does not exist
2016-02-03 15:31:01 -08:00
Gyu-Ho Lee
7a3426a231
tools/functional-tester/etcd-tester: support v3 kv storage
2016-02-03 15:24:54 -08:00
Anthony Romano
b6a08a97e2
clientv3: don't retry txns that may modify the store
2016-02-03 14:55:16 -08:00
Gyu-Ho Lee
ed682c9f08
tools/functional-tester: minor cleanup
2016-02-03 14:30:34 -08:00
Anthony Romano
db0b505de5
rafthttp: add requester to transport if peer does not exist
...
cluster integration now supports adding members with stopped nodes, too
Fixes #3699
2016-02-03 14:16:46 -08:00
Xiang Li
6da3c08b4d
Merge pull request #4401 from QuentinPerez/format
...
wrong number of args for format in Errorf/Printf
2016-02-03 13:21:33 -08:00
Quentin Perez
86aafcd15a
clientv3/integration: fix args format in Errorf/Printf
2016-02-03 22:17:58 +01:00
Gyu-Ho Lee
f82a1b0583
Merge pull request #4404 from gyuho/hash
...
etcdserver: add kv Hash method (for testing purpose)
2016-02-03 13:14:13 -08:00
Gyu-Ho Lee
2d197ac9e8
*: add kv Hash method (for testing purpose)
2016-02-03 12:52:39 -08:00
Jonathan Boulle
c98f6fa1b9
Merge pull request #4399 from mitake/genproto
...
scripts: get goimports in genproto.sh
2016-02-03 21:27:28 +01:00
Xiang Li
9bfe617728
Merge pull request #4400 from mitake/v3-member-tirivial
...
etcdserver: update comments in a generated file
2016-02-03 09:01:40 -08:00
Hitoshi Mitake
f7d35a1ef8
etcdserver: update comments in a generated file
...
On the latest master branch, etcdserver/etcdserverpb/etcdserver.pb.go
is changed when scripts/genproto.sh is executed. The content only has
changes for comment. Therefore it is not important but the change is
annoying when we update the proto file.
2016-02-04 00:45:16 +09:00
Hitoshi Mitake
be9c9ae7d5
scripts: get goimports in genproto.sh
...
genproto.sh uses goimports. Getting the command in the script is
useful.
2016-02-04 00:37:50 +09:00