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
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
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
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
tangcong
4acaa5a2a0
etcdserver/api/etcdhttp: add reason field for /health response
2020-06-10 11:14:56 +08:00
CFC4N
3082a7d521
etcdserver/api/v2store: fix race in TestIssue2746WithThree ( #11982 )
2020-06-09 19:11:08 -07:00
Ankur Gargi
133b0c2b04
Use http constant instead of a number ( #11975 )
...
* embed: Use http constant instead of a number
* embed: Use http constant instead of a number
* embed: Replaced a number with Go http constant
2020-06-09 19:08:38 -07:00
Sahdev Zala
84a5ff2d97
Merge pull request #11962 from spzala/incorrectflag
...
logging: create logger to prevent nil pointer
2020-06-09 14:34:22 -04:00
Sahdev Zala
1647889253
Merge pull request #11936 from wswcfan/update-3.2-changelog-for-11691
...
CHANGELOG: update 3.2 changelog and 3.3 upgrade document for #11691
2020-06-09 11:38:13 -04:00
Gyuho Lee
1c1029ecba
Merge pull request #11990 from tangcong/add-limit-for-revisions
...
mvcc: push down RangeOptions.limit argv into index tree to reduce memory overhead
2020-06-08 21:31:51 -07:00
shawwang
f3deba09b4
CHANGELOG: update 3.2 changelog and 3.3 upgrade document for #11691
2020-06-09 11:39:46 +08:00
tangcong
1677fd80a5
CHANGELOG: update for 11990
2020-06-09 01:11:11 +08:00
tangcong
26c930f27d
mvcc: push down RangeOptions.limit argv into index tree
2020-06-09 01:11:06 +08:00
Gyuho Lee
6e6f22db43
vendor: add missing failpoint
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-06-07 22:25:55 -07:00
Sahdev Zala
49f91d629a
Merge pull request #11945 from polyrabbit/fix-permission-on-Windows
...
pkg: Fix dir permission check on Windows
2020-06-04 18:16:48 -04:00
Gyuho Lee
570e55db65
functional/agent: fmt
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-06-03 17:41:34 -07:00
Gyuho Lee
237c8b528b
Merge pull request #11913 from jpbetz/gofail-startup
...
Persist failpoints across member restart
2020-06-03 17:41:17 -07:00
Gyuho Lee
62f1fefe4a
Merge pull request #11959 from tedyu/store-clone-rd-lock
...
etcdserver: take read lock when cloning store
2020-06-03 14:13:53 -07:00
Gyuho Lee
a09533d63d
Merge pull request #11960 from tedyu/internal-create-err-chk
...
etcdserver: check error return for store#internalCreate
2020-06-03 14:13:19 -07:00
Gyuho Lee
be0639090d
Merge pull request #11939 from tedyu/chk-ret-from-write
...
etcdserver: check the error return from Write()
2020-06-03 14:12:50 -07:00
Sahdev P. Zala
659fb01a6c
logging: create logger to prevent nil pointer
...
Create a new logger if one not found.
2020-06-02 09:53:35 -04:00
Ted Yu
5c95114190
etcdserver: check the error return from Write()
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-31 09:27:01 -07:00
Ted Yu
17483944fc
etcdserver: check error return for store#internalCreate
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-31 09:20:05 -07:00
Ted Yu
59ec251812
etcdserver: take read lock when cloning store
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-05-31 09:08:26 -07:00
Gyuho Lee
09fcf55ca4
Merge pull request #11845 from xiang90/tcp_proxy
...
etcdmain: best effort detection of self pointing in tcp proxy
2020-05-31 00:57:49 -07:00
Gyuho Lee
b2d228641a
Merge pull request #11905 from tedyu/node-tick-read
...
raft: avoid data race by not reading raft.lead
2020-05-31 00:57:01 -07:00
Gyuho Lee
8af52dc0e7
Merge pull request #11935 from tangcong/save-cindex-for-lease
...
lease: ensure grant/revoke won't be applied repeatedly after restarting etcd
2020-05-31 00:56:12 -07:00