Commit Graph

13221 Commits (release-3.3)

Author SHA1 Message Date
Sam Batschelet 973882f697 version: 3.3.27
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-15 08:32:31 -04:00
Piotr Tabor e82c2fd178
Merge pull request #13386 from hexfusion/cp-13376-release-3.3
[release-3.3] Dockerfile: bump debian bullseye-20210927
2021-10-04 08:40:11 +02:00
Sam Batschelet 24801f5c27 Dockerfile: bump debian bullseye-20210927
fixes: CVE-2021-3711, CVE-2021-35942, CVE-2019-9893

Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-04 00:48:07 -04:00
Sam Batschelet 984d71c8f4 version: 3.3.26
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-03 23:48:44 -04:00
Piotr Tabor 9530a81d62
Merge pull request #12552 from kolyshkin/3.3-fix-lock
[3.3 backport] pkg/fileutil: fix constant for linux locking
2021-01-16 22:16:46 +01:00
Moritz Both ec81adb216 pkg/fileutil: fix constant for linux locking
The constant F_OFD_GETLK is 36, not 37, according to
/usr/include/bits/fcntl-linux.h
Credits go to joakim-tjernlund who digged deep enough
to find this.

Fixes #31182
2020-12-14 10:53:41 -08:00
Jingyi Hu 7d1277644e
Merge pull request #12357 from cfc4n/automated-cherry-pick-of-#12264-upstream-release-3.3
Automated cherry pick of #12264
2020-11-17 01:58:10 +08:00
CFC4N c54c59d339
clientv3: get AuthToken automatically when clientConn is ready.
fixes: #11954
2020-09-30 17:17:46 +08:00
Gyuho Lee 2c834459e1 version: 3.3.25
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-08-24 12:33:27 -07:00
Gyuho Lee 43d6162d3f
Merge pull request #12246 from SVilgelm/fix-import-path
Fix import path to fileutils in listener
2020-08-24 12:31:29 -07:00
Gyuho Lee d01dda54dd
Merge pull request #12251 from spzala/automated-cherry-pick-of-#12242-upstream-release-3.3
Automated cherry pick of #12242
2020-08-24 12:30:42 -07:00
Sahdev P. Zala 864d9f4127 pkg: file stat warning
Provide warning and doc instead of enforcing file permission.
2020-08-24 11:32:31 -04:00
Sergey Vilgelm 386ebbb704
Fix import path to fileutils in listener
transport/listener: change the import path of fileutil

Version 3.3 still uses the github.com/coreos/etcd prefix, but the transport/listener package
used the go.etcd.io/etcd path prefix.
2020-08-22 07:27:15 -05:00
Gyuho Lee bdd57848dc scripts/release: logging release version
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-08-18 11:45:15 -07:00
Gyuho Lee fd9a5b0be5 go.mod/sum: delete temporarily
Release version name is being overwritten by the scripts...

Will add back after release.

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-08-18 11:44:47 -07:00
Gyuho Lee f9e5264765 version: v3.3.24
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-08-18 09:32:00 -07:00
Gyuho Lee f78bdce575
Merge pull request #12215 from wenjiaswe/automated-cherry-pick-of-#12106-upstream-release-3.3
Automated cherry pick of #12106
2020-08-13 21:37:14 -07:00
Yuchen Zhou cc5cc3ae40 etcdserver: change protobuf field type from int to int64 (#12000) 2020-08-13 15:55:41 -07:00
Gyuho Lee 5bc8f1650c etcdserver: add OS level FD metrics
Similar counts are exposed via Prometheus.
This adds the one that are perceived by etcd server.

e.g.

os_fd_limit 120000
os_fd_used 14
process_cpu_seconds_total 0.31
process_max_fds 120000
process_open_fds 17

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-08-12 18:40:03 -07:00
Gyuho Lee 0bed5fffd4 pkg/runtime: optimize FDUsage by removing sort
No need sort when we just want the counts.

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-08-12 18:39:10 -07:00
Gyuho Lee 4873f5516b version: add "3.3.23"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-07-16 15:15:48 -07:00
Sahdev Zala b16bfbed53
Merge pull request #12128 from spzala/automated-cherry-pick-of-#12012-upstream-release-3.3
Automated cherry pick of #12012
2020-07-13 10:53:04 -04:00
Hitoshi Mitake 604be01b61 Documentation: note on data encryption 2020-07-13 09:51:28 -04:00
Gyuho Lee bfc2267eba
Merge pull request #12113 from spzala/automated-cherry-pick-of-#12018-upstream-release-3.3
Automated cherry pick of #12018
2020-07-07 10:32:07 -07:00
Sahdev P. Zala ac37d3499e 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-07-07 12:02:55 -04:00
Gyuho Lee e542d1aed8
Merge pull request #12090 from tangcong/automated-cherry-pick-of-#11997-origin-release-3.3
Automated cherry pick of #11997
2020-07-06 13:00:48 -07:00
Gyuho Lee 140edf0dc6
Merge pull request #12104 from spzala/automated-cherry-pick-of-#12092-upstream-release-3.3
Automated cherry pick of #12092
2020-07-06 11:47:52 -07:00
Gyuho Lee 6c15e40dbd
Merge pull request #12057 from spzala/automated-cherry-pick-of-#11608-upstream-release-3.3
Automated cherry pick of #11608
2020-07-06 11:47:44 -07:00
Gyuho Lee 13f92b45d6
Merge pull request #12087 from spzala/automated-cherry-pick-of-#11807-upstream-release-3.3
Automated cherry pick of #11807
2020-07-06 11:47:36 -07:00
Sahdev Zala 1255e3f0c8
Update grpc_proxy.go
Using the plog.Warningf instead of zap which was added from 3.4
2020-07-05 12:31:58 -04:00
Hitoshi Mitake 4ae0875b34 etcdmain: let grpc proxy warn about insecure-skip-tls-verify 2020-07-05 12:10:07 -04:00
tangcong 44b0318929 pkg/fileutil: print desired file permission in error log 2020-06-29 10:00:23 +08:00
Sahdev P. Zala abd80f383e wal: fix panic when decoder not set
Handle the related panic and clarify doc.
2020-06-27 17:23:17 -04:00
Gyuho Lee 3076b616ab
Merge pull request #12075 from cfc4n/automated-cherry-pick-of-#11987-upstream-release-3.3
Automated cherry pick of #11987
2020-06-26 11:29:41 -07:00
Gyuho Lee c88a2c8cc1
Merge pull request #12078 from cfc4n/automated-cherry-pick-of-#11980-upstream-release-3.3
Automated cherry pick of #11980
2020-06-26 11:28:47 -07:00
Gyuho Lee 0b74a4dbdb
Merge pull request #12082 from spzala/automated-cherry-pick-of-#11945-upstream-release-3.3
Automated cherry pick of #11945
2020-06-26 11:28:28 -07:00
Gyuho Lee e959cda568
Merge pull request #12083 from spzala/automated-cherry-pick-of-#11793-upstream-release-3.3
Automated cherry pick of #11793
2020-06-26 11:28:17 -07:00
Sahdev P. Zala a3e242c085 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-26 14:04:51 -04:00
Gyuho Lee bccb40b7d9 wal: check out of range slice in "ReadAll", "decoder"
wal: add slice bound checks in decoder

CHANGELOG-3.5: add wal slice bound check
CHANGELOG-3.5: add "decodeRecord"

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2020-06-25 21:00:05 -04:00
Changxin Miao 6be5c54c94 pkg: Fix dir permission check on Windows 2020-06-25 20:21:54 -04:00
cfc4n ba7ff1eea9 auth: Customize simpleTokenTTL settings.
see https://github.com/etcd-io/etcd/issues/11978 for more detail.
2020-06-25 20:17:49 +08:00
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