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
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
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
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
Gyu-Ho Lee
03b9d6f24c
*: separate 'capnslog' log level setting
2016-09-10 20:26:51 +09:00
Xiang Li
9a67d71e6c
Merge pull request #6396 from heyitsanthony/rafthttp-msg-leak
...
rafthttp: log stream stopped message before closing channel
2016-09-09 17:52:03 -05:00
Xiang Li
8f47468a40
Merge pull request #6397 from fanminshi/master
...
functional-tester: correct goreman command in readme
2016-09-09 17:30:54 -05:00
fanmin shi
a571655983
functional-tester: correct goreman command in readme
...
update readme file to have the correct goreman command to start the functional tester locally.
2016-09-09 14:56:23 -07:00
Anthony Romano
0250f0c984
rafthttp: log stream stopped message before closing channel
...
Was causing spurious goroutine leak failures in testing.
2016-09-09 12:47:06 -07:00
Anthony Romano
92f141d670
Merge pull request #6393 from sinsharat/readme_update
...
etcdctl:readme.md doc made uniform
2016-09-09 12:04:48 -07:00
sharat
d5edb62bd0
etcdctl:readme.md doc made uniform
2016-09-10 00:32:36 +05:30
Gyu-Ho Lee
b22b405465
Merge pull request #6390 from gyuho/simple
...
wal: simplify dir.Close call
2016-09-09 09:50:38 +09:00
Xiang Li
20fc9dc463
Merge pull request #6389 from heyitsanthony/func-tester-noroot
...
functional-tester: run locally
2016-09-08 19:48:33 -05:00
Gyu-Ho Lee
ccb46d2024
wal: simplify dir.Close call
2016-09-09 09:23:55 +09:00
Gyu-Ho Lee
0b675845f6
Merge pull request #6321 from gyuho/lease-information
...
*: lease timetolive
2016-09-09 08:43:28 +09:00
Anthony Romano
aa6b1e6a10
functional-tester: add Procfile
2016-09-08 16:35:55 -07:00
Gyu-Ho Lee
b7dc6cc604
e2e: test 'lease timetolive'
2016-09-09 08:22:41 +09:00
Gyu-Ho Lee
04a4cea630
etcdctl/ctlv3: add 'lease timetolive' command
2016-09-09 08:21:58 +09:00
Gyu-Ho Lee
4c08f6767c
clientv3: add lease.TimeToLive + tests
2016-09-09 08:18:45 +09:00
Anthony Romano
55ba3d95fb
etcd-tester: support per-agent client/peer/failpoint ports
2016-09-08 16:15:18 -07:00
Gyu-Ho Lee
78cfc8db95
grpcproxy: implement 'LeaseTimeToLive'
2016-09-09 08:14:46 +09:00
Gyu-Ho Lee
63b0cd470d
etcdserver: implement 'LeaseTimeToLive'
2016-09-09 08:14:14 +09:00
Gyu-Ho Lee
0712ebc9b5
v2http: handle '/leases/internal'
2016-09-09 08:12:31 +09:00
Anthony Romano
2e25a772a5
etcd-agent: support rootless operation and configurable gofail ports
2016-09-08 16:12:00 -07:00
Gyu-Ho Lee
617d2d5b98
lease/*: add lease handler for 'LeaseTimeToLive'
2016-09-09 08:11:46 +09:00
Gyu-Ho Lee
3132e36bf3
etcdserverpb: add 'LeaseTimeToLive' RPC
2016-09-09 08:08:14 +09:00
Xiang Li
33b3fdc627
Merge pull request #6388 from groxxda/patch-1
...
etcd.service: order after network.target
2016-09-08 16:31:29 -05:00
Xiang Li
758f0d9017
Merge pull request #6387 from sinsharat/fix_ctl_win
...
ctlv3: fix line parsing for Windows
2016-09-08 16:27:26 -05:00
Alexander Ried
17377f5642
example .service file: Order after network.target
...
From (systemd NetworkTarget description)[https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ ]:
```
[...]since the shutdown ordering of units in systemd is the reverse of the startup ordering, any unit that is order After=network.target can be sure that it is stopped before the network is shut down if the system is powered off. This allows services to cleanly terminate connections before going down, instead of abruptly losing connectivity for ongoing connections, leaving them in an undefined state.[...]
```
2016-09-08 23:11:01 +02:00