Gyu-Ho Lee
7ebcfcf871
Documentation: use 'etcd_disk_' metrics in monitoring
...
Rather than 'etcd_debugging_' ones that might change
in the future.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-21 12:35:08 -07:00
Gyu-Ho Lee
a40cdc7baa
Merge pull request #8142 from gyuho/a
...
Documentation/release: sign *.aci files
2017-06-20 16:57:53 -07:00
Gyu-Ho Lee
20881bde05
Merge pull request #8128 from gyuho/functional-tester
...
*: run basic functional-tester cases to test script
2017-06-20 16:20:11 -07:00
Gyu-Ho Lee
6e31901108
test: run basic functional tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-20 16:04:51 -07:00
Gyu-Ho Lee
7689a2535e
etcd-tester: add 'exit-on-failure'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-20 16:04:48 -07:00
Gyu-Ho Lee
ca6d7bd836
Documentation/release: sign *.aci files
...
Thanks to
https://github.com/coreos/etcd/issues/8085#issuecomment-308232300 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-20 14:18:19 -07:00
Gyu-Ho Lee
1df8b90d67
Merge pull request #8121 from gyuho/health-check-service
...
*: add basic health check service
2017-06-20 13:07:52 -07:00
Gyu-Ho Lee
8ce2c79197
integration: add 'HealthClient.Check' test
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-20 13:02:11 -07:00
Anthony Romano
117a83c1bf
Merge pull request #8140 from heyitsanthony/doc-curl-auth
...
dev-guide: add authentication example for grpc/json
2017-06-20 10:59:39 -07:00
Anthony Romano
30029c0019
Merge pull request #8124 from heyitsanthony/crl
...
reject connections based on CRL file
2017-06-20 10:52:41 -07:00
Gyu-Ho Lee
c1e3172e3a
etcdserver/api/v3rpc: add default grpc health service
2017-06-20 10:48:06 -07:00
Gyu-Ho Lee
71e6fe183f
vendor: add 'grpc/health/*'
2017-06-20 10:48:06 -07:00
Gyu-Ho Lee
ac62c6c811
Merge pull request #8133 from gyuho/release-test
...
test: 'FAIL' on release binary download failure
2017-06-20 10:46:11 -07:00
Anthony Romano
8837719a8d
dev-guide: add authentication example for grpc/json
2017-06-20 10:12:17 -07:00
Anthony Romano
41e26f741b
e2e: test rejecting CRL'd client certs
2017-06-19 15:23:41 -07:00
Anthony Romano
798b14979c
fixtures: add gencerts.sh, generate CRL
2017-06-19 15:23:41 -07:00
Anthony Romano
87d16af2e2
embed: use transport TLS listener for client listener for CRLs
2017-06-19 15:23:41 -07:00
Anthony Romano
7d7d1ae6a0
etcdmain: configure CRL file through command line
2017-06-19 15:23:41 -07:00
Anthony Romano
322976bedc
transport: CRL checking
2017-06-19 15:23:41 -07:00
Xiang Li
a65e3c69a6
Merge pull request #8122 from yudai/fast_fail_proxy
...
grpcproxy: Disable fast fail on lease grant call to cluster
2017-06-19 15:04:25 -07:00
Anthony Romano
66f553a96b
Merge pull request #8127 from heyitsanthony/fix-restore
...
mvcc: restore into tree index with one key index
2017-06-19 12:58:18 -07:00
Gyu-Ho Lee
8f8f550443
test: 'FAIL' on release binary download failure
...
I see CI is failing to download release binaries
but exit code doesn't trigger CI job failure.
We need 'FAIL' string.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-19 12:52:02 -07:00
Anthony Romano
51a568aa81
mvcc: restore into tree index with one key index
...
Clobbering the mvcc kvindex with new keyIndexes for each restore
chunk would cause index corruption by dropping historical information.
2017-06-19 12:04:01 -07:00
Anthony Romano
02164874d9
mvcc: test restore and deletes with small chunk sizes
2017-06-19 12:04:01 -07:00
Anthony Romano
45fbac5544
Merge pull request #8025 from heyitsanthony/txn-cmp-range
...
api: txn comparisons on ranges
2017-06-18 11:11:43 -07:00
Iwasaki Yudai
df2cc4bc8c
grpcproxy: Disable fast fail on lease grant call to cluster
...
Problem Observed
----------------
When there is no etcd process behind the proxy,
clients repeat resending lease grant requests without delay.
This behavior can cause abnormal resource consumption on CPU/RAM and
network.
Problem Detail
--------------
`LeaseGrant()` uses a bare protobuf client to forward requests.
However, it doesn't use `grpc.FailFast(false)`, which means the method returns
an `Unavailable` error immediately when no etcd process is available.
In clientv3, `Unavailable` errors are not considered the "Halt" error,
and library retries the request without delay.
Both clients and the proxy consume much CPU cycles to process retry requests.
Resolution
----------
Add `grpc.FailFast(false))` to `LeaseGrant()` of the `leaseProxy`.
This makes the proxy not to return immediately when no etcd process is
available. Clients will simply timeout requests instead.
2017-06-16 15:09:05 -07:00
Anthony Romano
e475a4ea71
Merge pull request #8120 from heyitsanthony/restore-set-size-metric
...
mvcc: set db size metric on restore
v3.2.0+git
v3.2.0_plus_git
2017-06-16 12:37:08 -07:00
Anthony Romano
8f34d0c8b6
clientv3/integration: test compare on range
2017-06-16 12:13:27 -07:00
Anthony Romano
7ff6e62c56
namespace: prefix comparison range_end
2017-06-16 12:13:27 -07:00
Anthony Romano
aeb2dc03aa
grpcproxy: invalidate cache on comparison range
2017-06-16 12:13:27 -07:00
Anthony Romano
fcf1abd23b
clientv3: compare helper functions to set range/prefix
2017-06-16 12:13:27 -07:00
Anthony Romano
fafb054624
integration: test txn range comparisons
2017-06-16 12:13:27 -07:00
Anthony Romano
8d7c29c732
etcdserver, etcdserverpb: Txn.Compare range_end support
2017-06-16 12:13:27 -07:00
Anthony Romano
7f149d8fb6
mvcc: set db size metric on restore
...
Fixes #8080
2017-06-16 11:27:34 -07:00
Anthony Romano
a825709940
integration: test mvcc db size metric is set on restore
2017-06-16 11:27:07 -07:00
Anthony Romano
1acc8090e3
Merge pull request #8110 from heyitsanthony/fix-test-sync-timeout
...
etcdserver: use RecorderStream for TestSyncTimeout to avoid missing action
2017-06-15 20:49:10 -07:00
Anthony Romano
e962b0c849
Merge pull request #7909 from heyitsanthony/unptr-cfg
...
etcdserver, embed, integration: don't use pointer for ServerConfig
2017-06-15 20:47:30 -07:00
Xiang Li
44a6c2121b
Merge pull request #7999 from hexfusion/grpc-gateway-auth
...
auth: support "authorization" token for grpc-gateway
2017-06-15 19:22:00 -07:00
Anthony Romano
8fa96cb303
Merge pull request #8113 from heyitsanthony/code-of-conduct
...
*: add code of conduct
2017-06-15 19:18:24 -07:00
Anthony Romano
42584f84b4
*: add code of conduct
...
github community insights complains there isn't one
2017-06-15 17:04:45 -07:00
Anthony Romano
03ab4d9cc5
Merge pull request #8108 from radhikapc/building-qa
...
etcd/Documentation/dl_build.md: removed an extra step for testing etcd
2017-06-15 16:48:50 -07:00
Gyu-Ho Lee
5fedaf2dd7
Merge pull request #7896 from gyuho/metadata-grpc
...
*: gRPC v1.4.1, gateway v1.2.2, metadata Incoming/OutgoingContext
2017-06-15 16:42:55 -07:00
Gyu-Ho Lee
5e059fd8dc
*: use metadata Incoming/OutgoingContext
...
Fix https://github.com/coreos/etcd/issues/7888 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-15 16:41:23 -07:00
Gyu-Ho Lee
0d0c0f3959
bill-of-materials: add google.golang.org/genproto
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-15 16:41:23 -07:00
Gyu-Ho Lee
5fe58228b4
vendor: update grpc-go v1.4.1, grpc-gateway v1.2.2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-15 16:41:19 -07:00
Gyu-Ho Lee
b9a53db0c2
Merge pull request #8101 from gyuho/randomize-renew
...
lease: randomize expiry on initial refresh call
2017-06-15 16:29:47 -07:00
Gyu-Ho Lee
639687bb89
Merge pull request #8112 from gyuho/speakeasy-dep
...
vendor: use tagged release 'bgentry/speakeasy'
2017-06-15 16:10:21 -07:00
Gyu-Ho Lee
15b86d064d
vendor: use tagged release 'bgentry/speakeasy'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-15 16:09:46 -07:00
Anthony Romano
b6b56160cd
Merge pull request #8111 from heyitsanthony/version-probing
...
vendor: update glide.yaml to use probing 0.0.1
2017-06-15 16:02:09 -07:00
Anthony Romano
703893f334
Merge pull request #8109 from heyitsanthony/faq-initial-peers
...
Documentation: update FAQ with entry about changing peer advertising
2017-06-15 16:01:19 -07:00