Anthony Romano
8b52fd0d2d
clientv3: gracefully handle watcher resume on compacted revision
...
Fixes #5239
2016-05-03 09:30:53 -07:00
Gyu-Ho Lee
fee71b18a3
Merge pull request #5248 from gyuho/hash_with_revision
...
functional-tester: use revision from hash method
2016-05-02 15:30:26 -07:00
Gyu-Ho Lee
064c1ff0f3
etcdserver/api/v3rpc: use Revision from Hash API
2016-05-02 15:06:39 -07:00
Gyu-Ho Lee
7a6d9ea01a
mvcc: Hash to return Revision
2016-05-02 15:04:24 -07:00
Xiang Li
a8139e2b0e
Merge pull request #5247 from joshix/faqhead
...
Documentation/v2: Add newline before heading in faq.md
2016-05-02 11:43:58 -07:00
Joshua Wood
92d673ea59
Documentation/v2: Add newline before heading in faq.md
...
Minor rewrite to the heading text for clarity.
Matches downstream coreos-inc/coreos-pages#648 and
coreos-inc/coreos-pages#649 .
2016-05-02 11:15:18 -07:00
Xiang Li
b9ea5f6d90
Merge pull request #5241 from claws/avoid_differences_in_gnu_and_bsd_cut
...
use sed instead of cut to accomodate GNU and BSD differences
2016-04-30 20:58:57 -07:00
Chris Laws
c071104fc4
script: fix build script regression to work on OSX
...
Use sed instead of cut to accomodate GNU and BSD differences
Fixes : #5240
2016-05-01 13:06:07 +09:30
Xiang Li
28f3cb0f14
Merge pull request #5171 from xiang90/runner
...
etcd-runner: initial commit
2016-04-30 19:39:53 -07:00
Xiang Li
73ecb61ff4
etcd-runner: initial commit
2016-04-30 17:24:03 -07:00
Xiang Li
262de75a7e
Merge pull request #5238 from xiang90/bench_watch_put
...
mvcc: add benchmark for watch put and improve it
2016-04-30 10:46:38 -07:00
Xiang Li
ad327e01d0
mvcc: add benchmark for watch put and improve it
2016-04-29 19:58:37 -07:00
Xiang Li
b58f8dd64b
Merge pull request #5237 from brian-brazil/master
...
Improve some debug metrics.
2016-04-29 17:53:54 -07:00
Brian Brazil
ea1d0f3e0d
etcdserver: Improve some debug metrics.
...
The _total suffix is by convention for counters,
don't use it on a gauge. Clarify help string.
Tweak metric name so it'll sort with related metrics,
and be a little more understandable.
Remove open file descriptor metric, as Prometheus client_golang
provides that out of the box as process_open_fds which is also
more up to date. Both only support Linux, so there's no loss of
platform support.
Fixes #5229
2016-04-30 01:29:13 +01:00
Xiang Li
c89e348fbc
Merge pull request #5232 from glevand/master
...
Add arm64 travis builds
2016-04-29 16:41:09 -07:00
Gyu-Ho Lee
552a5af10f
Merge pull request #5236 from gyuho/wait_purge
...
pkg/fileutil: wait up to 300ms for purge test
2016-04-29 16:37:09 -07:00
Geoff Levand
b79bb6f164
travis: Enable arm64 builds
...
Setup a travis test matrix on a new variable 'TARGET', which specifies the CI
target. Update the script section with a conditional that runs the needed
commands for each target.
Also, set go_import_path to make cloned repos work, enable the trusty VM, and
enable verbose builds when testing.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-04-29 15:31:30 -07:00
Gyu-Ho Lee
4ab1500a6d
pkg/fileutil: wait up to 300ms for purge test
...
Fix https://github.com/coreos/etcd/issues/5231 .
The issue shows that slow CI can take more than 200ms
for purging. This increase the loop iteration to wait
up to 300ms in case the disk is being slow.
2016-04-29 15:24:44 -07:00
Anthony Romano
00d6f104b5
Merge pull request #5235 from ronabop/get_put_typo
...
simple typo in README docs for getting started
2016-04-29 14:24:21 -07:00
Ronald Gundlach-Chmara
c97b74a72f
doc: fix etcdctl example in README
...
repeated put rather than put followed by get
2016-04-29 21:20:14 +00:00
Gyu-Ho Lee
634a9e833e
Merge pull request #5233 from gyuho/client-doc
...
clientv3: fix README, add error handling example
2016-04-29 13:56:37 -07:00
Gyu-Ho Lee
0c5bcd5d80
clientv3: fix README, add error handling example
2016-04-29 13:34:16 -07:00
Gyu-Ho Lee
33968059e9
Merge pull request #5222 from gyuho/error_interface
...
rpctypes: error interface
2016-04-29 13:01:54 -07:00
Gyu-Ho Lee
ec1fdd3938
integration: test with new server errors
2016-04-29 12:00:26 -07:00
Gyu-Ho Lee
b3ebe66c97
clientv3/integration: tests with new errors
2016-04-29 12:00:26 -07:00
Gyu-Ho Lee
6049c95dc9
clientv3: auth with rpctypes.Error
2016-04-29 12:00:26 -07:00
Gyu-Ho Lee
506cf1f03f
etcdserver/api/v3rpc: use new errors
2016-04-29 12:00:26 -07:00
Gyu-Ho Lee
2b361cf06b
rpctypes: define a new error interface
2016-04-29 12:00:22 -07:00
Gyu-Ho Lee
d893a78c38
test: add v3rpc, rpctypes
2016-04-29 11:00:02 -07:00
Anthony Romano
8e099ab713
Merge pull request #5225 from heyitsanthony/local-tester
...
local-tester: procfile, faults, and network bridge
2016-04-29 10:27:56 -07:00
Xiang Li
b8850cec93
Merge pull request #5228 from xiang90/fix_d
...
mvcc: fix watch deleteRange
2016-04-29 10:23:46 -07:00
Anthony Romano
29eca4eb88
Merge pull request #5223 from heyitsanthony/kv-less-reconnect
...
clientv3: better serialization for kv and txn connection retry
2016-04-29 10:02:17 -07:00
Anthony Romano
c0ff77e809
local-tester: procfile, faults, and network bridge
...
Creates a local fault injected cluster and stresser for etcd.
Usage: goreman -f tools/local-tester/Procfile start
2016-04-29 09:57:02 -07:00
Xiang Li
3ddcc21179
mvcc: fix watch deleteRange
2016-04-29 09:40:28 -07:00
Anthony Romano
c26eb3f241
clientv3: better serialization for kv and txn connection retry
...
If the grpc connection is restored between an rpc network failure
and trying to reestablish the connection, the connection retry would
end up resetting good connections if many operations were
in-flight at the time of network failure.
2016-04-29 09:26:32 -07:00
Xiang Li
60425de0ff
Merge pull request #5227 from raoofm/patch-3
...
Doc: Update production-users.md
2016-04-29 08:25:07 -07:00
Raoof Mohammed
db8588ab93
Doc: Update production-users.md
...
Update the Backups policy
2016-04-29 11:23:51 -04:00
Xiang Li
51ad5f00bf
Merge pull request #5226 from raoofm/patch-2
...
Doc: Update production-users.md
2016-04-29 08:01:07 -07:00
Raoof Mohammed
419ae757d2
Update production-users.md
2016-04-29 10:58:24 -04:00
Gyu-Ho Lee
4480eb6d49
Merge pull request #5217 from gyuho/rpc_types
...
*: return rpctypes.Err in clientv3
2016-04-28 15:58:47 -07:00
Gyu-Ho Lee
f148f4b2b9
clientv3/integration: tests error types (rpctypes)
2016-04-28 15:42:27 -07:00
Gyu-Ho Lee
2e3d79a7bf
clientv3: convert errors to rpctypes on returning
...
For https://github.com/coreos/etcd/issues/5211 .
2016-04-28 15:39:37 -07:00
Gyu-Ho Lee
f613052435
rpctypes: Error function to convert clientv3 error
2016-04-28 12:16:13 -07:00
Gyu-Ho Lee
bef5be42b5
integration: add quota backend bytes option
2016-04-28 12:15:31 -07:00
Anthony Romano
11ec94b7e8
Merge pull request #5218 from heyitsanthony/fix-issue-3699
...
integration: wait for ReadyNotify in Issue3699 test
2016-04-28 10:48:08 -07:00
Anthony Romano
7c666b533a
Merge pull request #5221 from heyitsanthony/parallel-e2e-integration
...
test: run e2e and integration tests in parallel
2016-04-28 10:30:40 -07:00
Anthony Romano
85edd66c65
test: run e2e and integration tests in parallel
2016-04-28 10:17:40 -07:00
Anthony Romano
8291110049
rafthttp: do not create new connections after stopping transport
2016-04-28 10:10:52 -07:00
Xiang Li
d1e11842df
Merge pull request #5219 from xiang90/req_timeout
...
etcdserver: add timeout for processing v3 request
2016-04-28 09:25:08 -07:00
Xiang Li
6ee5f9c677
etcdserver: add timeout for processing v3 request
2016-04-28 08:52:17 -07:00