Gyu-Ho Lee
1b1e54a281
NEWS: add v3.0.8, v3.0.9
2016-09-16 07:05:31 +09:00
Gyu-Ho Lee
9913e0073c
Merge pull request #6438 from gyuho/e2e-backends
...
e2e: rename 'backends' to 'processes'
2016-09-15 19:00:28 +09:00
Gyu-Ho Lee
7cd7b5d539
e2e: rename 'backends' to 'processes'
2016-09-15 18:30:08 +09:00
Xiang Li
a12b317552
Merge pull request #6428 from gyuho/snapshot-test
...
e2e: test snapshot restore
2016-09-15 04:22:03 -05:00
Gyu-Ho Lee
bb337c87d0
e2e: test snapshot restore
2016-09-15 17:58:00 +09:00
Xiang Li
fb760b4c53
Merge pull request #6403 from vimalk78/rafthttp-mertics-record-rw-failures
...
rafthttp/metrics.go:fixed TODO: record write/recv failures.
2016-09-15 02:46:20 -05:00
Gyu-Ho Lee
d814804fa1
Merge pull request #6437 from sinsharat/readme_update
...
etcdctl: readme.md display fix
2016-09-15 16:20:42 +09:00
sharat
cd3a7fb833
etcdctl: readme.md display fix
2016-09-15 12:23:56 +05:30
Vimal Kumar
64e1a327ee
rafthttp/metrics.go:fixed TODO: record write/recv failures.
2016-09-15 11:32:08 +05:30
Xiang Li
b3a083d336
Merge pull request #6436 from LiamHaworth/bugfix/6433-support-for-charset-in-content-type-header
...
etcdserver, api, v2http, client: Added support for semicolons
2016-09-14 23:25:31 -05:00
Liam Haworth
5cfa9e2384
etcdserver, api, v2http, client: Added support for semicolons
...
Added support into the v2 API to fix an issue (6433) where if there is a semicolon
and fields after it the API would return an "invalid Content-type" message even
if the content type was actually correct
2016-09-15 13:54:22 +10:00
Anthony Romano
e77baa3dcb
Merge pull request #6424 from heyitsanthony/v3api-createminmax
...
etcdserver: range queries with min/max create revision
2016-09-14 19:10:52 -07:00
Xiang Li
059f419ac5
Merge pull request #6429 from xiang90/fix_balancer
...
clientv3: balancer panics when call up after close
2016-09-14 19:42:24 -05:00
Anthony Romano
82af0c4a7d
ctlv3: remove superfluous session creation
2016-09-14 17:03:33 -07:00
Anthony Romano
9b1fe45853
concurrency: use create max revision for locks and elections
2016-09-14 17:03:33 -07:00
Xiang Li
004a5f0dbc
clientv3: balancer panics when call up after close
...
Fix the issue by adding a simple guard varable.
2016-09-15 07:43:42 +08:00
Anthony Romano
aa7a35798d
integration: add tests for MinCreateRev and MaxCreateRev
2016-09-14 15:31:45 -07:00
Anthony Romano
5bd251a6fa
clientv3: WithMinCreateRev, WithMaxCreateRev
2016-09-14 15:31:45 -07:00
Anthony Romano
c0981a90f7
etcdserver, etcdserverpb: range min_create_revision and max_create_revision
2016-09-14 15:31:45 -07:00
Anthony Romano
c74ac99871
Merge pull request #6423 from heyitsanthony/fix-rwmutex
...
recipes: fix rwmutex locking
2016-09-14 09:50:26 -07:00
Xiang Li
3730802fef
Merge pull request #6427 from mitake/prefix-print
...
etcdctl: improve printing of role get for prefix permission
2016-09-14 02:27:28 -05:00
Xiang Li
8eac9fb93d
Merge pull request #6401 from hhkbp2/add-read-index-for-raft-rawnode
...
raft: add read index for RawNode
2016-09-14 02:14:49 -05:00
Hitoshi Mitake
4211c0b7af
etcdctl, clientv3: improve printing of role get for prefix permission
...
This commit improves printing of role get command for prefix
permission. If a range permission corresponds to a prefix permission,
it is explicitly printed for a user. Below is an example of the new
printing:
$ ETCDCTL_API=3 bin/etcdctl --user root:p role get r1
Role r1
KV Read:
[/dir/, /dir0) (prefix /dir/)
[k1, k5)
KV Write:
[/dir/, /dir0) (prefix /dir/)
[k1, k5)
2016-09-14 16:10:32 +09:00
Dylan.Wen
eeca614cd3
raft: add read index for RawNode
2016-09-14 14:43:46 +08:00
Xiang Li
672472f85e
Merge pull request #6414 from mitake/prefix-perm
...
etcdctl: an option for granting permission with key prefix
2016-09-13 23:29:40 -05:00
Hitoshi Mitake
4e2b09a7ca
etcdctl: an option for granting permission with key prefix
...
This commit adds a new option --prefix to "role grant-permission"
command. If the option is passed, the command interprets the key as a
prefix of range permission.
Example of usage:
$ ETCDCTL_API=3 bin/etcdctl --user root:p role grant-permission --prefix r1 readwrite /dir/
Role r1 updated
$ ETCDCTL_API=3 bin/etcdctl --user root:p role get r1
Role r1
KV Read:
[/dir/, /dir0)
[k1, k5)
KV Write:
[/dir/, /dir0)
[k1, k5)
$ ETCDCTL_API=3 bin/etcdctl --user u1:p put /dir/key val
OK
2016-09-14 12:54:14 +09:00
Xiang Li
c350cd7679
Merge pull request #6417 from xiang90/fix_TestPipelineExceedMaximumServing
...
rafthttp: fix TestPipelineExceedMaximumServing
2016-09-13 17:59:43 -05:00
Anthony Romano
9b91e96510
integration: fix rwmutex test to check write locking
2016-09-13 14:09:59 -07:00
Anthony Romano
9f829fdab7
recipes: fix rwmutex so locking works
...
Fixes #6408
2016-09-13 14:09:59 -07:00
Anthony Romano
c6bfdb909b
Merge pull request #6412 from heyitsanthony/revert-domain-listener
...
embed: warn on domain name in listener
2016-09-13 10:25:18 -07:00
Gyu-Ho Lee
afef9cc312
Merge pull request #6418 from sinsharat/update_readme
...
etcdctl\ctlv3: updated readme.md for timetolive example
2016-09-14 02:06:57 +09:00
sharat
6f4e3696d2
etcdctl\ctlv3: updated readme.md for timetolive example
2016-09-13 22:31:34 +05:30
Anthony Romano
c7212b438d
embed: warn on domain name in listener
2016-09-13 09:17:40 -07:00
Xiang Li
0d35ba9b94
rafthttp: fix TestPipelineExceedMaximumServing
...
The timeout is too short. It might take more than 10ms to send
request over a blocking chan (buffer is full). Changing the timeout
to 1 second can fix this issue.
2016-09-13 19:06:11 +08:00
Xiang Li
e6a7f25065
Merge pull request #6411 from heyitsanthony/v3api-minmaxmod
...
etcdserver: Range with min/max mod revision
2016-09-13 05:54:58 -05:00
Xiang Li
cfe717e926
Merge pull request #6275 from xiang90/raft_l
...
raft: support safe readonly request
2016-09-13 01:36:04 -05:00
Xiang Li
8c492c70ef
Merge pull request #6413 from xiang90/fix_wait
...
clientv3: return error from response when possible
2016-09-12 22:54:42 -05:00
Xiang Li
56084a7cc8
clientv3: return error from response when possible
2016-09-13 11:18:21 +08:00
Anthony Romano
fa2e9c2449
Revert "Merge pull request #6365 from heyitsanthony/fix-dns-bind"
...
This reverts commit af5ab7b3515cf023af7af94bc6e9063945802be0, reversing
changes made to da6a0f0594f352539349013336614e08033a7eb3.
2016-09-12 19:45:35 -07:00
Anthony Romano
17e7f83212
integration: test MinModRev/MaxModRev
2016-09-12 19:44:14 -07:00
Anthony Romano
b0481ba858
clientv3: WithMinModRev and WithMaxModRev
2016-09-12 19:44:14 -07:00
Xiang Li
3df8838501
Merge pull request #6404 from glycerine/range_fixes
...
etcd/auth: fix range handling bugs.
2016-09-12 21:26:59 -05:00
Anthony Romano
af0264d2e6
etcdserver, etcdserverpb: add MinModRevision and MaxModRevision options to Range
2016-09-12 15:17:57 -07:00
fanmin shi
ce01fb3cdf
Merge pull request #6410 from fanminshi/master
...
etcd-tester: fix peer-port parsing bug with localhost url
2016-09-12 14:00:06 -07:00
fanmin shi
8a63071463
etcd-tester: fix peer-port parsing bug with localhost url
...
The following format "http://localhost:1234 " causes existing port parser to fail. Add new logic to parse the host name first then extract port.
Fixes #6409
2016-09-12 13:29:52 -07:00
Jason E. Aten
ef1ef0ba16
auth: fix range handling bugs.
...
Test 15, counting from zero, in TestGetMergedPerms
in etcd/auth/range_perm_cache_test.go, was trying
incorrectly assert that [a, b) merged with [b, "")
should be [a, b). Added a test specifically for
this. This patch fixes the incorrect larger test
and the bugs in the code that it was hiding.
Fixes #6359
2016-09-12 09:23:19 -05:00
Xiang Li
710b14ce56
raft: support safe readonly request
...
Implement raft readonly request described in raft thesis 6.4
along with the existing clock/lease based approach.
2016-09-12 15:13:52 +08:00
Xiang Li
840f4d48c8
Merge pull request #6402 from gyuho/logger
...
*: separate 'capnslog' log level setting
2016-09-10 21:38:53 -05:00
Gyu-Ho Lee
bfb9d837d9
Merge pull request #6399 from AdoHe/master
...
update language bindings doc to add coreos/jetcd
2016-09-10 21:55:41 +09:00
AdoHe
caaa8a48aa
libraries-and-tools.md: add Java client
2016-09-10 20:47:31 +08:00