Xiang Li
84d7318820
Merge pull request #4208 from xiang90/fix_test
...
backend: make test more reliable
2016-01-13 22:52:15 -08:00
Xiang Li
e1de19bf75
backend: make test more reliable
2016-01-13 22:00:25 -08:00
Xiang Li
0f782762f4
Merge pull request #4179 from wangjia184/master
...
doc/libraries-and-tools.md: add .net client library
2016-01-13 21:19:44 -08:00
wj
5a3ba5202d
doc/libraries-and-tools.md: add .net client library
2016-01-14 12:24:36 +08:00
Xiang Li
6c82d768b2
Merge pull request #4201 from mitake/benchmark-pprof
...
tools/benchmark: add flags for pprof to storage put
2016-01-13 20:17:30 -08:00
Hitoshi Mitake
1c802e9266
tools/benchmark: add flags for pprof to storage put
...
This commit adds flags for profiling with runtime/pprof to storage
put:
- --cpuprofile: specify a path of CPU profiling result, if it is not
empty, profiling is activated
- --memprofile: specify a path of heap profiling result, if it is not
empty, profiling is activated
Of course, the flags should be added to RootCmd ideally. However,
adding common flags that shared by children command requires the
ongoing PR: https://github.com/spf13/cobra/pull/220 . Therefore this
commit adds the flags to storage put only.
2016-01-14 13:10:35 +09:00
Xiang Li
a8a786598d
Merge pull request #4206 from xiang90/fix_test
...
storage: extend timeout for slow CI
2016-01-13 16:15:07 -08:00
Xiang Li
0cba12d991
storage: extend timeout for slow CI
...
1. extend timeout
2. print out stacktrace. When it fails again, we can get more confidence that the
failure is caused by slow IO.
2016-01-13 16:04:19 -08:00
Xiang Li
5f3f09f82d
Merge pull request #4200 from mitake/deadcode
...
tools/benchmark: remove deadcode
2016-01-13 15:24:05 -08:00
Anthony Romano
9e11da50ad
Merge pull request #4190 from heyitsanthony/v3-integration-test
...
integration: testing support for v3 grpc api
2016-01-13 14:46:11 -08:00
Anthony Romano
53186da0a9
integration: a few v3 grpc api tests
2016-01-13 14:24:27 -08:00
Anthony Romano
6949f052c4
integration: add support for grpc server and client
2016-01-13 14:20:26 -08:00
Gyu-Ho Lee
722fb43797
Merge pull request #4202 from gyuho/prefix_watch
...
storage: check prefix in unsynced
2016-01-13 11:32:43 -08:00
Xiang Li
d2d70513a1
Merge pull request #4185 from xiang90/client-srv
...
*: support client srv target
2016-01-13 11:26:35 -08:00
Gyu-Ho Lee
4f427bca43
storage: check prefix in unsynced
...
Current syncWatchers method skips the events that have
prefixes that are being watched when the prefix is not
existent as a key. This fixes https://github.com/coreos/etcd/issues/4191
by adding prefix checking to not skip those events.
2016-01-13 11:21:47 -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
Anthony Romano
b47f721a98
integration: configure cluster with configCluster struct
...
makes discovery, tls, and v3 explicitly part of the cluster information
2016-01-13 11:09:13 -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
16b63310b2
tools/benchmark: remove deadcode
...
The Execute() function is a deadcode. Let's remove it.
2016-01-13 16:57:53 +09: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