Gyuho Lee
27ddb84268
Merge pull request #12107 from tangcong/register-grpcproxy-metrics
...
*: register metrics handler for grpcproxy self
2020-07-06 13:00:35 -07:00
tangcong
fff5d3cc03
*: register metrics handler for grpcproxy self
2020-07-02 22:55:18 +08:00
Jingyi Hu
15884e9085
Merge pull request #12086 from tangcong/print-expensive-request-v3rpc
...
v3rpc: Log expensive request in UnaryInterceptor
2020-07-01 23:53:50 +08:00
tangcong
5c6d7b4d2c
CHANGELOG: update for 12086
2020-07-01 00:54:31 +08:00
tangcong
644d09edb5
v3rpc: print expensive request info in UnaryInterceptor
2020-07-01 00:54:23 +08:00
Sahdev Zala
7f726db202
Merge pull request #12092 from mitake/warn
...
etcdmain: let grpc proxy warn about insecure-skip-tls-verify
2020-06-29 11:59:53 -04:00
Sahdev Zala
01f1109f6d
Merge pull request #12091 from mitake/password-strength-2
...
Documentation: refine the description about password strength
2020-06-29 11:53:15 -04:00
Hitoshi Mitake
e582d7dc80
Documentation: refine the description about password strength
2020-06-29 23:40:44 +09:00
Hitoshi Mitake
db2165dfb1
etcdmain: let grpc proxy warn about insecure-skip-tls-verify
2020-06-29 23:37:04 +09:00
Gyuho Lee
e94dc39edc
Merge pull request #12079 from cfc4n/changelog_3.3-3.4
...
CHANGELOG-3.3-3.4: update for #12069
2020-06-26 11:28:40 -07:00
W. Trevor King
0c5cffc60b
Documentation/etcd-mixin: Raise etcdHighNumberOfLeaderChanges threshold to 4
...
A cluster with three members could see three leader changes during a
healthy rolling reboot, and we don't want to alert on that. Growing
to 4 reduces false-alarms for clusters with three or fewer members,
and that's probably most clusters. It will also slightly increase the
risk of false-negatives, but if the cluster is struggling with high
latency, it seems likely that it would quickly pass the new threshold
too.
The hard-coded threshold means that we are still likely to get
false-positives during rolling reboots of clusters with four or more
members. Ideally we'd scale this with the cluster size, or something,
but I'm not sure how to do that. Three members is the minimum size
for high availability, so reducing false positives for that case seems
worth addressing even if we leave larger clusters largely unchanges.
Also manually catch etcd3_alert.rules up to speed, since it seems to
have been passed over by 16fc8a2b4b (Documentation/op-guide:
Re-generate alert rules and dashboard from mixin, 2020-04-07, #11768 ).
2020-06-25 15:38:15 -07:00
Ankur Gargi
2b79442d8e
backend: Create base type for readTx and concurrentReadTx ( #11976 )
...
backend: Create base type for readTx and concurrentReadTx
backend: Implemented review comments to rename rTx to baseReadTx and remove TODO
backend: Resolved comments around baseReadTx
backend: Implemented a review comment
2020-06-25 10:26:17 -07:00
CFC4N
3ced62a6c7
CHANGELOG-3.3-3.4: update for https://github.com/etcd-io/etcd/pull/12069 ,and other cherry pick PRs.
2020-06-25 20:54:46 +08:00
Gyuho Lee
94bd71adac
Merge pull request #12066 from tangcong/fix-fmt-shadow-err
...
etcdmain: fix shadow error
2020-06-24 20:40:24 -07:00
Gyuho Lee
ae59425235
Merge pull request #11919 from YoyinZyc/downgrade-policy
...
[Etcd downgrade] Apply downgrade policy to server
2020-06-24 11:33:32 -07:00
yoyinzyc
2541b0bba9
etcdserver: apply downgrade policy to server.
2020-06-24 11:06:29 -07:00
tangcong
a08c52945f
etcdmain: fix shadow error
2020-06-24 17:47:18 +08:00
Xiang Li
beb5614aad
doc: add TLS related warnings ( #12060 )
2020-06-23 21:07:36 -07:00
Gyuho Lee
8f19fecb82
Merge pull request #12030 from tangcong/fix-grpc-proxy-hang
...
proxy/grpcproxy: fix grpc proxy hang when broadcast failed to cancel a watcher
2020-06-22 10:53:13 -07:00
Gyuho Lee
9380327e70
Merge pull request #12047 from jingyih/update_bbolt_1p3p5
...
vendor: update bbolt to v1.3.5
2020-06-22 10:52:43 -07:00
jingyih
238ea9bf93
vendor: update bbolt to v1.3.5
2020-06-22 04:29:06 -07:00
tangcong
854c327179
CHANGELOG: update for 12030
2020-06-22 14:57:02 +08:00
tangcong
34e3dbe3d4
proxy/grpcproxy: add zap logger
2020-06-22 14:56:58 +08:00
Gyuho Lee
ebdccedbde
Merge pull request #11980 from cfc4n/simple-token-ttl
...
auth: Customize the settings of simpleTokenTTL.
2020-06-21 23:23:45 -07:00
Gyuho Lee
6ec5d5f60f
Merge pull request #12001 from cfc4n/master
...
CHANGELOG: update for PR #11980 , #11986 , # 11987 ,
2020-06-21 23:20:50 -07:00
Gyuho Lee
a71fa242d8
Merge branch 'master' into master
2020-06-21 23:20:34 -07:00
Gyuho Lee
f1057001c3
Merge pull request #12033 from jingyih/update_changelog_PR11946
...
CHANGELOG: update for #11946
2020-06-21 19:18:11 -07:00
jingyih
fac83fbecd
CHANGELOG: update for PR11946
...
Also update helper message to include the new flag.
2020-06-20 12:26:36 -07:00
Sahdev P. Zala
f5a85e9987
pkg: consider umask when use MkdirAll
...
os.MkdirAll creates directory before umask so make sure that a desired
permission is set after creating a directory with MkdirAll. Use the
existing TouchDirAll function which checks for permission if dir is already
exist and when create a new dir.
2020-06-20 13:10:11 -04:00
CFC4N
10cdabe721
CHANGELOG: update for https://github.com/etcd-io/etcd/pull/11980 , https://github.com/etcd-io/etcd/pull/11986 , https://github.com/etcd-io/etcd/pull/11987 .
2020-06-21 00:00:41 +08:00
tangcong
b5a07728d0
proxy/grpcproxy: make sure watchproxy do not block forever when failed to cancel a watcher
2020-06-20 11:20:31 +08:00
Gyuho Lee
d8c8f903ee
Merge pull request #11983 from tangcong/add_reason_field_for_health
...
etcdserver/api/etcdhttp: add reason field for /health response
2020-06-15 23:17:00 -07:00
Gyuho Lee
8720f980ac
Merge pull request #11986 from cfc4n/fdusage-limit
...
etcdserver:set FDUsage ticker to 10 minute from 5 seconds.
2020-06-15 22:12:58 -07:00
cfc4n
144beba3f8
etcdserver:FDUsage set ticker to 10 minute from 5 seconds.
...
This ticker will check File Descriptor Requirements ,and count all fds in used.
And recorded some logs when in used >= limit/5*4. Just recorded message.
If fds was more than 10K,It's low performance due to FDUsage() works.
So need to increase it.
see https://github.com/etcd-io/etcd/issues/11969 for more detail.
2020-06-16 12:44:33 +08:00
Sahdev Zala
af7128ccd0
Merge pull request #11997 from tangcong/optimize-file-stats-error
...
pkg/fileutil: optimize file stats error
2020-06-15 11:19:58 -04:00
Hitoshi Mitake
2f6ceb7aca
Merge pull request #12012 from mitake/doc-disk-data
...
Documentation: note on data encryption
2020-06-15 23:25:23 +09:00
Gyuho Lee
4f16d0698f
Merge pull request #12010 from WuShaoQiang/master
...
raft: fix typo
2020-06-14 16:35:58 -07:00
Hitoshi Mitake
c13415c581
Documentation: note on data encryption
2020-06-15 00:29:32 +09:00
gavwu
8f72368070
raft: fix typo
2020-06-14 13:26:37 +08:00
Sahdev Zala
c9dd080afb
Merge pull request #11998 from hwdef/master
...
Documentation: fix broken links
2020-06-13 00:30:55 -04:00
Yuchen Zhou
ed04d0d98a
etcdserver: change protobuf field type from int to int64 ( #12000 )
2020-06-12 16:10:56 -07:00
CFC4N
b6d1987ccd
auth: return incorrect result 'ErrUserNotFound' when client request without username or username was empty. ( #12005 )
...
Fiexs https://github.com/etcd-io/etcd/issues/12004 .
2020-06-12 16:10:19 -07:00
hwdef
e3014072ba
Documentation: fix broken links
2020-06-12 09:51:33 +08:00
cfc4n
d507ab4aad
auth: Customize simpleTokenTTL settings.
...
see https://github.com/etcd-io/etcd/issues/11978 for more detail.
2020-06-11 17:15:42 +08:00
tangcong
9b444c6355
CHANGELOG: add data dir permission breaking changes doc
2020-06-11 10:10:32 +08:00
Ankur Gargi
b0d2edfc68
Documentation: Added Recover cluster from minority failure ( #11988 )
2020-06-10 14:36:44 -07:00
CFC4N
26f6aee395
mvcc: chanLen 1024 is to biger,and it used more memory. ( #11987 )
...
128 seems to be enough.
Sometimes the consumption speed is more than the production speed.
See https://github.com/etcd-io/etcd/issues/11906 for more detail.
2020-06-10 14:35:48 -07:00
tangcong
50d7a10a3f
pkg/fileutil: print desired file permission in error log
2020-06-10 22:45:36 +08:00
tangcong
330424142c
tests/e2e: fix failed /health test case
2020-06-10 11:16:25 +08:00
tangcong
f77b21ce05
CHANGELOG: update for 11983
2020-06-10 11:15:00 +08:00