Anthony Romano
a2760c9f49
Merge pull request #5888 from heyitsanthony/v2-one-shot
...
client: make set/delete one shot operations
2016-07-07 16:41:01 -07:00
Anthony Romano
c30f89f1d0
client/integration: test v2 client one shot operations
2016-07-07 15:58:58 -07:00
Anthony Romano
946b3cce1d
client: make set/delete one shot operations
...
Old behavior would retry set and delete even if there's an error. This
can lead to the client returning an error for deleting twice, instead
of returning an error for an interdeterminate state.
Fixes #5832
2016-07-07 15:51:08 -07:00
Xiang Li
4f2da16d82
Merge pull request #5897 from xiang90/lock
...
v3rpc: lock progress and prevKV map correctly
2016-07-07 15:20:37 -07:00
Xiang Li
427496ebb8
v3rpc: lock progress and prevKV map correctly
2016-07-07 15:01:05 -07:00
Anthony Romano
dc2dced129
Merge pull request #5892 from heyitsanthony/auth-cheap-bcrypt
...
auth: cheap bcrypt for tests
2016-07-07 09:04:57 -07:00
Xiang Li
b6a497214e
Merge pull request #5883 from westhood/master
...
clientv3: fix sync base
2016-07-07 07:09:55 -07:00
Anthony Romano
0b0cbaac09
clientv3: use cheap bcrypt for ExampleAuth and use embedded auth api
...
Fixes #5783
2016-07-06 23:35:14 -07:00
Anthony Romano
d4e0e419dc
auth: set bcrypt cost to minimum for test cases
...
DefaultCost makes auth tests 10x more expensive than MinCost.
Fixes #5851
2016-07-06 23:35:06 -07:00
westhood
16b0c1d1e1
clientv3: fix sync base
...
It is not correct to use WithPrefix. Range end will change in every
internal batch.
2016-07-07 12:02:53 +08:00
westhood
88a9cf2cea
clientv3: add public function to get prefix range end
2016-07-07 10:35:40 +08:00
Gyu-Ho Lee
c4a280e511
Merge pull request #5881 from goby/master
...
hack: fix etcd execute path in k8s example
2016-07-06 17:04:16 -07:00
Gyu-Ho Lee
244b1d7d20
tcpproxy: add start logging line
2016-07-06 14:21:26 -07:00
Anthony Romano
1c9e0a0e33
Merge pull request #5886 from heyitsanthony/health-check-str
...
rafthttp: make health check meaning clearer
2016-07-06 11:32:27 -07:00
Xiang Li
4db8f018cb
Merge pull request #5885 from xiang90/fix_snap_test
...
etcdserver: fix TestSnap
2016-07-06 11:21:13 -07:00
Anthony Romano
3a080143a7
rafthttp: make health check meaning clearer
2016-07-06 10:31:13 -07:00
Xiang Li
3451623c71
etcdserver: fix TestSnap
2016-07-06 10:30:15 -07:00
laidonglin
8c4df9a96f
hack: fix etcd execute path in k8s example
...
Change /etcd to /usr/local/bin/etcd
2016-07-06 15:07:00 +08:00
Xiang Li
234c30c061
Merge pull request #5880 from xiang90/put_prev
...
add options to return prev_kv
2016-07-05 21:03:56 -07:00
Xiang Li
7ec822107a
*: add put prevkv
2016-07-05 20:45:01 -07:00
Xiang Li
12bf1a3382
*: rename preserveKVs to prevKv
2016-07-05 20:45:01 -07:00
Anthony Romano
a78cdeae81
Merge pull request #5877 from heyitsanthony/rsa-fixtures
...
test: certificate fixes for fedora
2016-07-05 19:34:23 -07:00
Xiang Li
929d6ab62c
Merge pull request #5850 from xiang90/get_o_kv
...
*: support get-old-kv in watch
2016-07-05 16:37:24 -07:00
Xiang Li
c853704ac9
*: support get-old-kv in watch
2016-07-05 16:17:09 -07:00
Anthony Romano
c642430fae
integration: use RSA certs for testing
...
Some systems don't support EC due to patent issues, but the tests
should still work.
Fixes #5744
2016-07-05 13:21:21 -07:00
Gyu-Ho Lee
066afd6abd
Merge pull request #5876 from gyuho/manual
...
Dockerfile: use 'ENTRYPOINT' instead of 'CMD'
2016-07-05 11:40:02 -07:00
Secret
f19cef960e
Dockerfile: use 'ENTRYPOINT' instead of 'CMD'
...
use entrypoint, so people can specify flags to etcd
without providing the binary.
Signed-off-by: Secret <haichuang221@163.com>
2016-07-05 11:28:19 -07:00
Gyu-Ho Lee
beab76c7a9
Merge pull request #5872 from gyuho/build_doc
...
Documentation: add instruction on vendoring, build
2016-07-05 10:43:28 -07:00
Gyu-Ho Lee
ff5ddd0909
Documentation: add instruction on vendoring, build
...
Addressing https://github.com/coreos/etcd/issues/5857#issuecomment-230174840 .
2016-07-05 09:55:44 -07:00
Gyu-Ho Lee
660f0fcc3d
Merge pull request #5873 from gyuho/raft_updates
...
raft: fix minor grammar, remove TODO
2016-07-05 09:49:08 -07:00
Xiang Li
8c71eb71df
Merge pull request #5867 from vmatekole/master
...
Documentation: Example config amendment
2016-07-05 09:17:22 -07:00
vmatekole
c52bf1ac5d
Documentation: Example config amendment
2016-07-05 16:27:47 +02:00
Gyu-Ho Lee
9e0de02fde
raft: fix minor grammar, remove TODO
...
- test 'Term' panic cases (remove TODO)
- fix minor grammar in 'Node' godoc
2016-07-05 07:21:52 -07:00
Gyu-Ho Lee
c7dd74d8d3
Merge pull request #5869 from gyuho/raft_log_test
...
raft: minor updates and clean up in log.go
2016-07-04 21:51:13 -07:00
Gyu-Ho Lee
881a120453
raft: minor updates and clean up in log.go
...
- remove redundant test case in log_test.go
- fix test case comment ('equal or larger')
- lastnewi after matching index and term
2016-07-04 16:52:17 -07:00
Anthony Romano
b566ca225c
Merge pull request #5855 from heyitsanthony/fix-windows-wal-init
...
wal: release wal locks before renaming directory on init
2016-07-03 19:21:23 -07:00
Xiang Li
8d99a666f9
Merge pull request #5854 from xiang90/r_f
...
raft: add features section to readme file
2016-07-03 18:00:31 -07:00
Xiang Li
c76dcc5190
raft: add features section to readme file
2016-07-03 17:59:59 -07:00
Xiang Li
df61322e5b
Merge pull request #5862 from xiang90/fix_sn
...
etcdserver: commit before sending snapshot
2016-07-03 15:30:20 -07:00
Gyu-Ho Lee
7cb61af245
Merge pull request #5864 from gyuho/raft_cleanup
...
raft: remove unnecessary reflect.DeepEqual in test
2016-07-03 14:03:08 -07:00
Xiang Li
70bf768005
Merge pull request #5861 from xiang90/fix_watch
...
v3rpc: do not panic on user error for watch
2016-07-03 13:56:33 -07:00
Xiang Li
8a8a8253fa
etcdserver: commit before sending snapshot
2016-07-03 13:54:05 -07:00
Gyu-Ho Lee
9b5e99efe0
raft: remove unnecessary reflect.DeepEqual in test
2016-07-03 13:42:26 -07:00
Xiang Li
13a4056327
v3rpc: do not panic on user error for watch
2016-07-03 08:57:48 -07:00
Anthony Romano
5991209c2d
wal: release wal locks before renaming directory on init
...
Fixes #5852
2016-07-02 12:14:37 -07:00
Anthony Romano
7cc4596ebd
Merge pull request #5849 from heyitsanthony/fix-compactor-test-races
...
compactor: make tests deterministic
2016-07-01 23:07:36 -07:00
Anthony Romano
9405583745
Merge pull request #5830 from heyitsanthony/functest-failpoints
...
functional-tester: failpoint support
2016-07-01 16:58:36 -07:00
Anthony Romano
1af7c400d1
compactor: make tests deterministic
...
Fixes #5847
2016-07-01 16:50:05 -07:00
Anthony Romano
a5f043c85b
etcd-tester: add failpoint cases
...
Fixes #5754
2016-07-01 15:31:49 -07:00
Gyu-Ho Lee
c6a3048e81
Merge pull request #5848 from gyuho/cluster_version
...
etcdserver/api: print only major.minor version API
2016-07-01 15:19:08 -07:00