Gyuho Lee
493f15c156
Merge pull request #12037 from spzala/automated-cherry-pick-of-#11807-upstream-release-3.4
...
Automated cherry pick of #11807
2020-06-21 19:20:42 -07:00
Gyuho Lee
c8b3c6f54c
Merge pull request #12041 from spzala/automated-cherry-pick-of-#11795-upstream-release-3.4
...
Automated cherry pick of #11795
2020-06-21 19:20:26 -07:00
Gyuho Lee
368ff75a10
Merge pull request #12039 from spzala/automated-cherry-pick-of-#11845-upstream-release-3.4
...
Automated cherry pick of #11845
2020-06-21 19:20:04 -07:00
Gyuho Lee
7adbfa1144
Merge pull request #12038 from spzala/automated-cherry-pick-of-#11608-upstream-release-3.4
...
Automated cherry pick of #11608
2020-06-21 19:19:50 -07:00
Gyuho Lee
e151faf3cc
Merge pull request #12040 from spzala/automated-cherry-pick-of-#11796-upstream-release-3.4
...
Automated cherry pick of #11796
2020-06-21 19:19:31 -07:00
Gyuho Lee
8292fd5051
Merge pull request #12042 from spzala/automated-cherry-pick-of-#11818-upstream-release-3.4
...
Automated cherry pick of #11818
2020-06-21 19:19:17 -07:00
Gyuho Lee
c37245ed4b
Merge pull request #12043 from spzala/automated-cherry-pick-of-#11830-upstream-release-3.4
...
Automated cherry pick of #11830
2020-06-21 19:18:51 -07:00
Gyuho Lee
6dab8aff66
Merge pull request #12044 from spzala/automated-cherry-pick-of-#11841-upstream-release-3.4
...
Automated cherry pick of #11841
2020-06-21 19:18:35 -07:00
Hitoshi Mitake
c69efda350
etcdctl, etcdmain: warn about --insecure-skip-tls-verify options
2020-06-21 19:23:06 -04:00
Hitoshi Mitake
3d8e9a323d
Documentation: note on the policy of insecure by default
2020-06-21 19:21:05 -04:00
Hitoshi Mitake
963b242846
etcdserver: don't let InternalAuthenticateRequest have password
2020-06-21 19:18:18 -04:00
Hitoshi Mitake
6f011ce524
auth: a new error code for the case of password auth against no password user
2020-06-21 19:12:55 -04:00
Hitoshi Mitake
36f8dee003
Documentation: note on password strength
2020-06-21 19:08:39 -04:00
Xiang Li
47001f28bd
etcdmain: best effort detection of self pointing in tcp proxy
2020-06-21 18:12:24 -04:00
Sahdev P. Zala
9a24f73f7b
Discovery: do not allow passing negative cluster size
...
When an etcd instance attempts to perform service discovery, if a
cluster size with negative value is provided, the etcd instance
will panic without recovery because of
2020-06-21 18:00:35 -04:00
Sahdev P. Zala
7d1cf64049
wal: fix panic when decoder not set
...
Handle the related panic and clarify doc.
2020-06-21 16:21:34 -04:00
Gyuho Lee
91b1a9182a
Merge pull request #11977 from jpbetz/automated-cherry-pick-of-#11946-release-3.4
...
Automated cherry pick of #11946
2020-06-05 12:46:33 -07:00
David Crawshaw
78f67988aa
etcdserver, et al: add --unsafe-no-fsync flag
...
This makes it possible to run an etcd node for testing and development
without placing lots of load on the file system.
Fixes #11930 .
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2020-06-04 20:19:28 -07:00
Gyuho Lee
54ba958911
version: 3.4.9
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.4.9
2020-05-20 16:28:29 -07:00
Gyuho Lee
609e844f86
Merge pull request #11811 from wswcfan/automated-cherry-pick-of-#11735-origin-release-3.4
...
Automated cherry pick of #11735 on release-3.4
2020-05-20 15:57:48 -07:00
tangcong
166b4473fa
wal: add TestValidSnapshotEntriesAfterPurgeWal testcase
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 11:38:06 -07:00
tangcong
ed231df7c0
wal: fix crc mismatch crash bug
2020-05-20 11:37:04 -07:00
Gyuho Lee
cfe37de6c0
rafthttp: log snapshot download duration
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-20 11:37:01 -07:00
Gyuho Lee
0de2b1f860
version: 3.4.8
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.4.8
2020-05-18 11:40:23 -07:00
Gyuho Lee
a668adba78
rafthttp: improve snapshot send logging
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-18 11:39:24 -07:00
Gyuho Lee
9bad82fee5
*: 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-17 17:38:42 -07:00
Gyuho Lee
f1ea03a7c8
etcdserver/api/snap: exclude orphaned defragmentation files in snapNames
...
ref. https://github.com/etcd-io/etcd/pull/11900
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-17 14:21:02 -07:00
Ted Yu
4079deadb4
etcdserver: continue releasing snap db in case of error
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-17 14:15:26 -07:00
Viacheslav Biriukov
87fc3c9e57
etcdserver,wal: fix inconsistencies in WAL and snapshot
...
etcdserver/*, wal/*: changes to snapshots and wal logic
etcdserver/*: changes to snapshots and wal logic to fix #10219
etcdserver/*, wal/*: add Sync method
etcdserver/*, wal/*: find valid snapshots by cross checking snap files and wal snap entries
etcdserver/*, wal/*:Add comments, clean up error messages and tests
etcdserver/*, wal/*: Remove orphaned .snap.db files during Release
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-05-15 08:40:09 -07:00
Gary Belvin
e048e166ab
cherry pick of #11564 ( #11880 )
...
* clientv3: fix grpc-go(v1.27.0) incompatible changes to balancer/resolver.
* vendor: upgrade gRPC Go to v1.24.0
Picking up some performance improvements and bug fixes.
https://github.com/grpc/grpc-go/releases/tag/v1.24.0
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
* vendor: update gRPC Go to v1.26.0 (#11522 )
* GO111MODULE=on go mod vendor
* GO111MODULE=on go mod vendor go 1.14
Bump travis 2
Co-authored-by: EDDYCJY <313687982@qq.com>
Co-authored-by: Gyuho Lee <leegyuho@amazon.com>
Co-authored-by: Yuchen Zhou <yczhou@google.com>
2020-05-13 10:12:58 -07:00
Gyuho Lee
2333c727a2
Merge pull request #11855 from tangcong/automated-cherry-pick-of-#11817-origin-release-3.4
...
Automated cherry pick of #11817 on release-3.4
2020-05-07 20:00:26 -07:00
tangcong
aa75e90ac8
mvcc: fix deadlock bug
2020-05-08 09:56:23 +08:00
shawwang
f18976f4b8
auth: optimize lock scope for CheckPassword
...
to improve authentication performance in concurrent scenarios when enable auth and using authentication based password
2020-04-25 18:36:18 +08:00
Jingyi Hu
f1eca4e1fa
Merge pull request #11752 from tangcong/automated-cherry-pick-of-#11652-#11670-#11710-origin-release-3.4
...
Automated cherry pick of #11652 #11670 #11710
2020-04-10 23:21:45 +08:00
tangcong
b733b22712
auth: ensure RoleGrantPermission is compatible with older versions
2020-04-09 09:33:40 +08:00
tangcong
eb80716532
etcdserver: print warn log when failed to apply request
2020-04-09 09:33:40 +08:00
tangcong
e2abd97659
auth: cleanup saveConsistentIndex in NewAuthStore
2020-04-09 09:33:40 +08:00
tangcong
716821b9b5
auth: print warning log when error is ErrAuthOldRevision
2020-04-09 09:33:40 +08:00
shawwang
63116ffdb4
auth: add new metric 'etcd_debugging_auth_revision'
2020-04-09 09:33:40 +08:00
shawwang
b3d54def77
tools/etcd-dump-db: add auth decoder, optimize print format
2020-04-09 09:33:40 +08:00
tangcong
347c8dac3b
*: fix auth revision corruption bug
2020-04-09 09:33:36 +08:00
Sahdev Zala
e2ae6013a4
Merge pull request #11757 from jingyih/automated-cherry-pick-of-#11754-upstream-release-3.4
...
Automated cherry pick of #11754 on release-3.4
2020-04-06 11:09:26 -04:00
Changxin Miao
9c8554573f
etcdserver: watch stream got closed once one request is not permitted ( #11708 )
2020-04-06 07:06:57 -07:00
Gyuho Lee
e694b7bb08
version: 3.4.7
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.4.7
2020-04-01 10:46:54 -07:00
Gyuho Lee
e99399d0dc
wal: add "etcd_wal_writes_bytes_total"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-04-01 09:30:09 -07:00
Gyuho Lee
b68f8ff31d
pkg/ioutil: add "FlushN"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-04-01 09:29:59 -07:00
Gyuho Lee
857dffa386
Merge pull request #11734 from jingyih/automated-cherry-pick-of-#11330-upstream-release-3.4
...
Cherry pick of #11330 on release-3.4
2020-03-31 14:58:59 -07:00
jingyih
5f17aa2c8b
test: auto detect branch when finding merge base
2020-03-31 10:59:44 -07:00
shenjiangc
89b10cf967
mvcc/kvstore:when the number key-value is greater than one million, compact take too long and blocks other requests
2020-03-30 08:21:38 -07:00
Gyuho Lee
bdc9bc1d81
version: 3.4.6
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.4.6
2020-03-29 12:47:27 -07:00