13180 Commits

Author SHA1 Message Date
cfc4n
8c885ad9a9 mvcc: chanLen 1024 is to biger,and it used more memory. 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-25 19:51:51 +08:00
Gyuho Lee
cdc1c8f02f
Merge pull request #12050 from spzala/automated-cherry-pick-of-#11845-upstream-release-3.3
Automated cherry pick of #11845
2020-06-24 20:42:14 -07:00
Gyuho Lee
94857c925a
Merge pull request #12052 from spzala/automated-cherry-pick-of-#11830-upstream-release-3.3
Automated cherry pick of #11830
2020-06-24 20:42:06 -07:00
Gyuho Lee
56bf4c4779
Merge pull request #12053 from spzala/automated-cherry-pick-of-#11841-upstream-release-3.3
Automated cherry pick of #11841
2020-06-24 20:41:58 -07:00
Gyuho Lee
2e601c4611
Merge pull request #12058 from spzala/automated-cherry-pick-of-#11818-upstream-release-3.3
Automated cherry pick of #11818
2020-06-24 20:41:21 -07:00
Gyuho Lee
6992211021
Merge pull request #12059 from spzala/automated-cherry-pick-of-#11787-upstream-release-3.3
Automated cherry pick of #11787
2020-06-24 20:41:12 -07:00
Gyuho Lee
829f484165
Merge pull request #12063 from cfc4n/automated-cherry-pick-of-#11986-upstream-release-3.3
Automated cherry pick of #11986
2020-06-24 20:40:45 -07:00
Gyuho Lee
05f5b69673
Merge pull request #12067 from cfc4n/automated-cherry-pick-of-#12005-upstream-release-3.3
Automated cherry pick of #12005
2020-06-24 20:40:13 -07:00
Gyuho Lee
d18eeef0e7
Merge pull request #12069 from cfc4n/release-3.3
go.mod: fix incorrect package dependency when etcd clientv3 used as libary.
2020-06-24 20:40:02 -07:00
Gyuho Lee
1a79fe3758
Merge pull request #12071 from spzala/automated-cherry-pick-of-#12060-upstream-release-3.3
Automated cherry pick of #12060
2020-06-24 20:39:25 -07:00
Gyuho Lee
599beaee41
Merge pull request #12073 from spzala/automated-cherry-pick-of-#11798-upstream-release-3.3
Automated cherry pick of #11798
2020-06-24 20:39:00 -07:00
Sahdev P. Zala
bde76af5fa pkg: check file stats
modify file util.
2020-06-24 21:28:16 -04:00
Xiang Li
b85fc84c26 doc: add TLS related warnings 2020-06-24 16:41:53 -04:00
CFC4N
c3780bb216 go.mod: fix incorrect package dependency when etcd clientv3 used as libary.
Fixes: https://github.com/etcd-io/etcd/issues/12068
2020-06-24 21:45:06 +08:00
cfc4n
999df4e5a1 auth: return incorrect result 'ErrUserNotFound' when client request without username or username was empty.
Fiexs https://github.com/etcd-io/etcd/issues/12004 .
2020-06-24 19:10:51 +08:00
cfc4n
c4db372810 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-24 13:21:30 +08:00
Sahdev P. Zala
64f8b86e0d embed: fix compaction runtime err
Handle negative value input which currently gives a runtime error.
2020-06-23 14:47:58 -04:00
Hitoshi Mitake
585814082b etcdserver: don't let InternalAuthenticateRequest have password 2020-06-23 14:16:44 -04:00
Hitoshi Mitake
c511894ee5
Merge pull request #12051 from spzala/automated-cherry-pick-of-#11796-upstream-release-3.3
Automated cherry pick of #11796
2020-06-23 23:21:45 +09:00
Hitoshi Mitake
a89c2512ea etcdctl, etcdmain: warn about --insecure-skip-tls-verify options 2020-06-22 19:53:45 -04:00
Hitoshi Mitake
9e00f6f37f Documentation: note on the policy of insecure by default 2020-06-22 19:51:04 -04:00
Hitoshi Mitake
da1d42d111 Documentation: note on password strength 2020-06-22 19:48:51 -04:00
Xiang Li
f6b822dfe8 etcdmain: best effort detection of self pointing in tcp proxy 2020-06-22 19:39:34 -04:00
Gyuho Lee
3bf09a5859
Merge pull request #11758 from jingyih/automated-cherry-pick-of-#11754-upstream-release-3.3
Automated cherry pick of #11754 on release-3.3
2020-06-21 23:21:55 -07:00
Gyuho Lee
282cce72fd version: 3.3.22
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.3.22
2020-05-20 15:42:36 -07:00
tangcong
a9d14cbb64 wal: add TestValidSnapshotEntriesAfterPurgeWal testcase
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 15:08:10 -07:00
tangcong
8ce10ea4a5 wal: fix crc mismatch crash bug 2020-05-20 11:39:00 -07:00
Gyuho Lee
669285f515 rafthttp: log snapshot downloads
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 11:01:13 -07:00
Gyuho Lee
1205851db7 version: 3.3.21
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.3.21
2020-05-18 11:30:17 -07:00
Gyuho Lee
672314546b rafthttp: improve snapshot logging
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 11:30:01 -07:00
Gyuho Lee
924b8128c2 *: make sure snapshot save downloads SHA256 checksum
ref. https://github.com/etcd-io/etcd/pull/11896

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 02:27:01 -07:00
Gyuho Lee
9caec0d124 etcdserver,wal: fix inconsistencies in WAL and snapshot
ref. https://github.com/etcd-io/etcd/issues/10219

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 02:26:57 -07:00
Gyuho Lee
23337471d7
Merge pull request #11856 from tangcong/automated-cherry-pick-of-#11817-origin-release-3.3
Automated cherry pick of #11817 on release-3.3
2020-05-07 20:00:11 -07:00
tangcong
5f799922a8 mvcc: fix deadlock bug 2020-05-08 10:12:36 +08:00
Changxin Miao
1b5e2f4305
Update grpc-gateway to 1.3.1 (#11843) 2020-05-06 15:32:08 -07:00
Jingyi Hu
7e20b9ff91
Merge pull request #11753 from tangcong/automated-cherry-pick-of-#11652-#11670-#11710-origin-release-3.3
Automated cherry pick of #11652 #11670 #11710
2020-04-10 23:21:34 +08:00
Changxin Miao
8781e1d44c etcdserver: watch stream got closed once one request is not permitted (#11708) 2020-04-06 07:09:15 -07:00
tangcong
294e714489 *: fix cherry-pick conflict 2020-04-06 10:47:14 +08:00
tangcong
64fc4cc244 auth: ensure RoleGrantPermission is compatible with older versions 2020-04-06 09:20:52 +08:00
tangcong
27dffc6d01 etcdserver: print warn log when failed to apply request 2020-04-06 09:20:45 +08:00
tangcong
acd9422459 auth: cleanup saveConsistentIndex in NewAuthStore 2020-04-06 09:16:58 +08:00
tangcong
e7291a1dab auth: print warning log when error is ErrAuthOldRevision 2020-04-06 09:16:58 +08:00
shawwang
06a2f816e9 auth: add new metric 'etcd_debugging_auth_revision' 2020-04-06 09:16:38 +08:00
tangcong
140bf5321d *: fix auth revision corruption bug 2020-04-06 09:16:06 +08:00
Gyuho Lee
9fd7e2b802 version: 3.3.20
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.3.20
2020-04-01 10:49:03 -07:00
Gyuho Lee
1aa5da9121 wal: add "etcd_wal_writes_bytes_total"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-04-01 10:49:00 -07:00
Gyuho Lee
89ecd19414 pkg/ioutil: add "FlushN"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-04-01 10:36:03 -07:00
Gyuho Lee
67da93f739 version: 3.3.19
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.3.19
2020-03-18 17:23:32 -07:00
Gyuho Lee
a463bd54ae words: whitelist "racey"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-03-18 17:23:16 -07:00
Gyuho Lee
cd200b49a2 Revert "version: 3.3.19"
This reverts commit acb9746d660850b5d42ddd44ac1025168e73496a.
2020-03-18 17:22:12 -07:00