0e4e8ed3d1
embed: corrupt-check on restart member
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-22 21:20:19 -08:00
e0dfc4368f
etcdserver: CheckInitialHashKV when "InitialCorruptCheck==true"
...
etcdserver: only compare hash values if any
It's possible that peer has higher revision than local node.
In such case, hashes will still be different on requested
revision, but peer's header revision is greater.
etcdserver: count mismatch only when compact revisions are same
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-22 21:20:14 -08:00
1f38f1fddb
e2e: add corruption checking tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-22 15:52:09 -08:00
3db5ad8d57
embed,etcdmain: add "--experimental-initial-corrupt-check"
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-22 15:27:14 -08:00
c983f0ae98
Documentation: fix typo in upgrade 3.2 guide
2017-11-22 11:08:21 -08:00
15bfc1b361
Merge pull request #8893 from dahefanteng/fix-typo
...
Documentation: change "key file" to "cert file"
v3.2.10_plus_git
2017-11-20 23:55:27 -08:00
8e4d1cb707
Merge pull request #8901 from mitake/auth-context
...
auth, etcdserver: follow the correct usage of context
2017-11-20 23:54:26 -08:00
f649132a5a
auth, etcdserver: follow the correct usage of context
...
The keys of context shouldn't be string. They should be a struct of
their own type.
Fix https://github.com/coreos/etcd/issues/8826
2017-11-21 15:31:19 +09:00
f62cd1d66f
Merge pull request #8897 from mkumatag/fix_gotip_fmt
...
Fix go fmt for gotip
2017-11-20 22:25:07 -08:00
e1b1ec8348
etcdmain: Fix go fmt for gotip
2017-11-21 11:37:09 +05:30
fb9e78ff3e
Merge pull request #8898 from gyuho/z2
...
etcdserver,embed: clean up/reorganize client/peer/corrupt handlers
2017-11-20 16:14:02 -08:00
75ababa61f
embed: split peer/client/metrics serve methods
...
Priliminary commit to start client server later.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-20 15:23:15 -08:00
08434d0665
etcdserver/corrupt: document data corrupt checking in checkHashKV
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-20 15:04:50 -08:00
1ce3a41e69
etcdserver/corrupt: add "getPeerHashKVs" method
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-20 15:04:45 -08:00
f6f0fb12e0
etcdserver/corrupt: set dial timeout for peer clientv3
...
Preliminary commit for initial hash checking.
Dial timeout when other nodes have not been booted.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-20 15:02:57 -08:00
a4c407ece4
Documentation: change "key file" to "cert file"
...
when refered "--trusted-ca-file",what we need provide should be a CA cert file,not the CA private key file.
2017-11-20 00:44:32 -05:00
3cff8dd6f8
Merge pull request #8894 from gyuho/a
...
vendor: upgrade grpc-gateway to v1.3.0, dustin/go-humanize
2017-11-17 15:27:51 -08:00
6a4a30f5d1
vendor: upgrade grpc-gateway to v1.3.0, dustin/go-humanize
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-17 14:02:13 -08:00
24b19ee222
CHANGELOG: fix typos in v3.2.10 release
2017-11-16 23:43:01 -08:00
23fb330df7
CHANGELOG: fix v3.2.10 release date
2017-11-16 13:23:18 -08:00
3766b04b38
Merge pull request #8891 from gyuho/bbb
...
vendor: coreos/bbolt v1.3.1-coreos.5
2017-11-16 11:34:17 -08:00
ba163efe2e
vendor: coreos/bbolt v1.3.1-coreos.5
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-16 10:30:45 -08:00
cbe8c7eda7
Merge pull request #8880 from gyuho/v3beta-endpoint
...
*: replace grpc-gateway endpoint with /v3beta
2017-11-16 09:42:19 -08:00
7a55a4084d
Merge pull request #8884 from gyuho/revert-srv-dns-patch
...
Revert "embed: fix HTTPs + DNS SRV discovery"
2017-11-15 14:30:08 -08:00
37b3108ce5
Documentation/op-guide: add security guide link to clustering.md
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 14:07:06 -08:00
9b772ba94c
Documentation/op-guide: add notes for DNS SRV in security.md
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 14:07:06 -08:00
94355cb6a5
CHANGELOG: add SRV ServerName auth revert change
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 14:07:02 -08:00
fe7b094f63
Revert "embed: fix HTTPs + DNS SRV discovery"
...
This reverts commit f79d5aaca4
.
2017-11-15 13:00:21 -08:00
6260df7404
Merge pull request #8878 from brancz/init-metrics
...
*: initialize gRPC server metrics with zero values
2017-11-15 10:20:41 -08:00
4a8c788dbf
Merge pull request #8879 from brancz/adapt-rules
...
Adapt rules to use new gRPC metrics
2017-11-15 09:38:25 -08:00
092b270697
Documentation/op-guide: Fix link to Prometheus 2.0 alerting rules
2017-11-15 14:34:55 +01:00
79446ea677
Documentation/op-guide: Adapt alerting rules to new gRPC metrics
2017-11-15 14:33:52 +01:00
627cffd6f8
*: initialize gRPC server metrics with zero values
2017-11-15 11:21:29 +01:00
0f9f452722
e2e: test /v3alpha,beta in v3 curl tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 02:14:07 -08:00
c706c6e238
embed: mutate /v3alpha requests with /v3beta for backward compatibilities
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 02:14:04 -08:00
5fd419ff50
embed: replace v3alpha serve path with v3beta
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 01:55:49 -08:00
02be1ace59
e2e: replace v3alpha with v3beta in curl grpc-gateway tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 01:55:49 -08:00
980942fa44
Documentation/dev-guide: replace v3alpha with v3beta in grpc-gateway doc
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 01:55:44 -08:00
ab526e8814
*: regenerate proto, swagger specs
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 01:22:09 -08:00
ce6bb4f1c9
etcdserver: replace /v3alpha with /v3beta in proto definitions
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-15 01:19:53 -08:00
d01f3daf95
Merge pull request #8873 from gyuho/grpc-upgrade
...
vendor: upgrade grpc/grpc-go to v1.7.3
2017-11-14 16:00:59 -08:00
f0497de216
vendor: upgrade grpc/grpc-go to v1.7.3
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-14 13:56:28 -08:00
ec25a5c5b4
Merge pull request #8871 from gyuho/test-script-on-functional-tests
...
test: Clean agent directories on disk before functional test runs, no…
2017-11-14 13:28:35 -08:00
1bca2e969f
test: Clean agent directories on disk before functional test runs, not after
...
This is primarily so CI tooling can capture the agent logs after the functional tester runs.
2017-11-14 13:09:52 -08:00
6f077bd74c
Merge pull request #8866 from hubo1016/patch-1
...
Documentation/integrations.md: Add aioetcd3 to Python language bindings
2017-11-13 22:07:12 -08:00
6ba39450c3
Documentation/integrations.md: Add aioetcd3 to Python language bindings
...
aioetcd3 is a Python binding for etcdv3 API for asyncio.
#8866
Signed-off-by: hubo <hubo1016@126.com >
2017-11-14 13:55:35 +08:00
632ba72c6d
Merge pull request #8868 from gyuho/bbb
...
Documentation/upgrades: add client upgrade check list for 3.2.10
2017-11-13 19:31:29 -08:00
eaf47ec053
Documentation/upgrades: add client upgrade check list for 3.2.10
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-13 13:35:21 -08:00
eb19ab14e2
Merge pull request #8656 from gyuho/readme
...
README: update badges
2017-11-13 11:00:35 -08:00
adeb1fb620
Merge pull request #8848 from brancz/prom-2.0-rules
...
Documentation/op-guide: Add rules for Prometheus 2.0
2017-11-13 08:44:32 -08:00