Xiang Li
d2d70513a1
Merge pull request #4185 from xiang90/client-srv
...
*: support client srv target
2016-01-13 11:26:35 -08:00
Xiang Li
bfa21001a1
*: support client srv target
2016-01-13 11:12:15 -08:00
Gyu-Ho Lee
c59bc9c4db
Merge pull request #4204 from gyuho/typo
...
client: keys.go minor typo
2016-01-13 11:11:50 -08:00
Gyu-Ho Lee
3ac8ff3a84
client: keys.go minor typo
2016-01-13 11:02:37 -08:00
Gyu-Ho Lee
f2a4993c11
Merge pull request #4187 from gyuho/store_stats
...
Documentation: stats/metrics reset on etcd restart
2016-01-13 09:53:17 -08:00
Gyu-Ho Lee
b6d5993121
Merge pull request #4193 from gyuho/etcdctl_help_doc
...
etcdctl, etcdctlv3: add help message for non-valid value arg
2016-01-13 09:52:59 -08:00
Gyu-Ho Lee
5fb26f2e8c
Documentation: stats/metrics reset on etcd restart
...
Addressing https://github.com/coreos/etcd/issues/4035 .
2016-01-13 09:51:13 -08:00
Gyu-Ho Lee
054db2e3cf
etcdctl, etcdctlv3: add help message for non-valid value arg
...
Unix commands interprets argument value of first character '-'
as a flag. And this won't be fixed in our upstream CLI libraries.
This adds help message to show users workarounds.
Addressing https://github.com/coreos/etcd/issues/2020 .
2016-01-13 09:25:24 -08:00
Anthony Romano
ca9ad6897a
Merge pull request #4192 from heyitsanthony/gexpect-tests
...
e2e: etcd end-to-end integration tests
2016-01-13 09:10:29 -08:00
Gyu-Ho Lee
b35ab33045
Merge pull request #4155 from mitake/pprof
...
etcdmain: add options for pprof
2016-01-13 03:13:50 -08:00
Hitoshi Mitake
588f655b4e
etcdmain: add an option for pprof
...
This commit adds a new option for activating profiling based on pprof
in etcd process.
- -enable-pprof: boolean type option which activates profiling
For example, if a client URL is http://localhost:12379 , users and
developers access heap profiler with this URL:
http://localhost:12379/debug/pprof/heap
2016-01-13 16:12:26 +09:00
Anthony Romano
b83c52888c
Merge pull request #4199 from heyitsanthony/fix-recorder-datarace
...
testutil: fix data race in RecorderBuffered
2016-01-12 21:56:58 -08:00
Anthony Romano
6de07cf9ea
e2e: etcd end-to-end tests
...
Uses gexpect to test the etcd binary directly. Tests #4135 , #4171
2016-01-12 21:27:59 -08:00
Anthony Romano
54c905f87f
testutil: fix data race in RecorderBuffered
...
Was accessing a shared data structure instead of the private copy.
Fixes #4198
2016-01-12 21:08:51 -08:00
Gyu-Ho Lee
da9378b7e2
Merge pull request #4194 from gyuho/etcdctl_check_key
...
client: add IsKeyNotFound function
2016-01-12 20:12:36 -08:00
Gyu-Ho Lee
f67f6d7c7c
client: add IsKeyNotFound function
...
This can be used to check if an error is client.ErrorCodeKeyNotFound.
Related to https://github.com/coreos/etcd/issues/4080 .
2016-01-12 20:04:08 -08:00
Xiang Li
1df478ea5d
Merge pull request #4195 from davygeek/master
...
follow golint notice replace '+=1' to '++'
2016-01-12 18:00:53 -08:00
davygeek
194607812c
raft: follow golint notice to replace +=1 with ++
2016-01-13 09:39:00 +08:00
Anthony Romano
9b27198698
godeps: add gexpect and deps
2016-01-12 16:53:15 -08:00
Xiang Li
42b5bc021a
Merge pull request #4186 from xiang90/fix_store
...
store: handle watch dir removal correctly
2016-01-12 14:47:02 -08:00
Anthony Romano
efa9cd7e0c
Merge pull request #4184 from heyitsanthony/v3-rangereq-sort
...
etcdserver: support sorted range requests in v3 api
2016-01-12 10:26:52 -08:00
Xiang Li
3aa5cee1f3
Merge pull request #4188 from xiang90/lease_stop
...
*: stop lessor when etcdserver is stopped
2016-01-12 10:23:48 -08:00
Anthony Romano
82eeffbd58
etcdserver: support sorted range requests in v3 api
...
Fixes #4166
2016-01-12 10:08:30 -08:00
Xiang Li
6b1d9fb7ce
*: stop lessor when etcdserver is stopped
2016-01-12 10:06:11 -08:00
Xiang Li
547250321b
store: handle watch dir removal correctly
2016-01-11 22:42:56 -08:00
Xiang Li
374b14e471
Merge pull request #4178 from xiang90/lease_keepalive
...
*: now lease keepAlive works on leader
2016-01-10 13:13:31 -08:00
Xiang Li
59bf83c7f4
*: now lease keepAlive works on leader
2016-01-09 22:12:02 -08:00
Xiang Li
20cdd7db8e
Merge pull request #4173 from xiang90/lease_attach
...
support lease Attach
2016-01-09 11:10:45 -08:00
Xiang Li
f01c8188f8
*: rename lease.DeleteableRange to lease.RangeDeleter
2016-01-09 11:01:58 -08:00
Xiang Li
f5753f2f51
*: support lease Attach
...
Now we can attach keys to leases. And revoking the lease removes all
the attached keys of that lease.
2016-01-09 11:01:58 -08:00
Xiang Li
133f46246e
Merge pull request #4176 from xiang90/refactor
...
lease: remove minExpiry and add helper funcs
2016-01-08 14:40:26 -08:00
Xiang Li
12912501bd
lease: remove minExpiry and add helper funcs
2016-01-08 14:29:33 -08:00
Xiang Li
0554a18060
Merge pull request #4175 from xiang90/lease_expire
...
*: revoke expired leases
2016-01-08 13:47:06 -08:00
Xiang Li
2566699a48
*: revoke expired leases
2016-01-08 13:37:58 -08:00
Anthony Romano
f45a8fe623
Merge pull request #4174 from heyitsanthony/fix-limit-keepalive
...
etcdmain: support keep alive listeners on limit listener connections
2016-01-08 10:41:57 -08:00
Xiang Li
7de0e9130c
Merge pull request #4167 from xiang90/lease_promote
...
*: expose Lessor Promote and Demote interface
2016-01-08 10:38:08 -08:00
Anthony Romano
1814867733
Godeps: remove golang.org/x/net/netutil
...
Now using our own LimitListener to support KeepAlives.
2016-01-08 10:32:25 -08:00
Anthony Romano
811fbc5672
etcdmain: support keep alive listeners on limit listener connections
...
Fixes #4171
2016-01-08 10:11:31 -08:00
Jonathan Boulle
cb3ca4f8fb
Merge pull request #4169 from gyuho/typo
...
*: fix minor typos
2016-01-08 11:20:59 +01:00
Gyu-Ho Lee
f76166a041
*: fix minor typos
2016-01-08 00:21:19 -08:00
Gyu-Ho Lee
a7287b6374
Merge pull request #4161 from gyuho/typo_in_benchmark
...
tools/benchmark/cmd: print error out to stderr
2016-01-07 18:50:09 -08:00
Xiang Li
f5fa9b5384
*: expose Lessor Promote and Demote interface
2016-01-07 18:18:20 -08:00
Xiang Li
99bee2fd29
Merge pull request #4162 from xiang90/lease
...
*: add support for lease create and revoke
2016-01-07 16:58:59 -08:00
Xiang Li
d9ca929a33
*: add support for lease create and revoke
...
Basic support for lease operations like create and revoke.
We still need to:
1. attach keys to leases in KV implmentation if lease field is set
2. leader periodically removes expired leases
3. leader serves keepAlive requests and follower forwards keepAlive
requests to leader.
2016-01-07 16:39:39 -08:00
Anthony Romano
383e11d528
Merge pull request #4165 from heyitsanthony/benchmark-stddev
...
tools/benchmark: report standard deviation
2016-01-07 16:00:26 -08:00
Anthony Romano
187064187c
tools/benchmark: report standard deviation
2016-01-07 15:30:23 -08:00
Xiang Li
2ff95b68e7
Merge pull request #4163 from mordyovits/patch-1
...
storage: minor typo in metrics help field
2016-01-07 13:35:59 -08:00
Mordy Ovits
0d01035693
Minor typo in metrics help field
2016-01-07 16:18:50 -05:00
Gyu-Ho Lee
cc39cde319
tools/benchmark/cmd: print error out to stderr
2016-01-07 12:55:26 -08:00
Gyu-Ho Lee
4d921ab0e4
Merge pull request #4159 from gyuho/kv_header
...
etcdserver/api/v3rpc: fill in KV ResponseHeader
2016-01-07 12:27:49 -08:00