https://github.com/etcd-io/etcd

sort by:
Revision Author Date Message Commit Date
215b53c version: bump up to 3.5.7 20 January 2023, 10:15:12 UTC
638c6f1 Merge pull request #15096 from ahrtr/3.5_promote_non_exist_id_20230113 [3.5] etcdserver: return membership.ErrIDNotFound when the memberID not found 17 January 2023, 09:23:03 UTC
53300ec etcdserver: return membership.ErrIDNotFound when the memberID not found Backport https://github.com/etcd-io/etcd/pull/15095. When promoting a learner, we need to wait until the leader's applied ID catches up to the commitId. Afterwards, check whether the learner ID exist or not, and return `membership.ErrIDNotFound` directly in the API if the member ID not found, to avoid the request being unnecessarily delivered to raft. Signed-off-by: Benjamin Wang <wachao@vmware.com> 16 January 2023, 22:24:27 UTC
816c2e2 Merge pull request #15069 from ahrtr/last_wal_rec_corrupt_3.5_20230108 [3.5] etcdserver: process the scenaro of the last WAL record being partially synced to disk 11 January 2023, 08:37:43 UTC
e1fc545 etcdserver: process the scenaro of the last WAL record being partially synced to disk We need to return io.ErrUnexpectedEOF in the error chain, so that etcdserver can repair it automatically. Backport https://github.com/etcd-io/etcd/pull/15068 Signed-off-by: Benjamin Wang <wachao@vmware.com> 07 January 2023, 21:30:01 UTC
9e3966f Merge pull request #15041 from ahrtr/update_nsswitch_3.5 [3.5] Update nsswitch.conf for 3.5 23 December 2022, 23:13:18 UTC
cff3045 update nsswitch.conf for 3.5 Signed-off-by: Benjamin Wang <wachao@vmware.com> 23 December 2022, 12:30:23 UTC
dd30268 Merge pull request #15037 from ahrtr/remove_busybox_3.5_20221223 3.5: remove the dependency on busybox 23 December 2022, 11:27:46 UTC
1293f5d 3.5: remove the dependency on busybox Signed-off-by: Benjamin Wang <wachao@vmware.com> 23 December 2022, 10:38:40 UTC
f12f162 Merge pull request #15018 from ahrtr/deps_3.5_20221219 [3.5] Security: address HIGH Vulnerabilities 19 December 2022, 09:41:52 UTC
cf379a7 Merge pull request #14920 from andy-js/andy-js/release-3.5 client/pkg/v3: fixes Solaris build of transport 19 December 2022, 08:24:56 UTC
4e03851 Merge pull request #15016 from ahrtr/use_distroless_3.5_20221219 [3.5] Security: use distroless base image to address critical Vulnerabilities 19 December 2022, 08:23:15 UTC
925c061 Remove dependency on gobin Signed-off-by: Benjamin Wang <wachao@vmware.com> 19 December 2022, 08:16:55 UTC
413ec16 resolve build error: parameter may not start with quote character ' Signed-off-by: Benjamin Wang <wachao@vmware.com> 19 December 2022, 05:28:25 UTC
bf1b902 remove .travis.yml Signed-off-by: Benjamin Wang <wachao@vmware.com> 19 December 2022, 05:27:19 UTC
a612b92 format the source code and tidy the dependencies using go 1.17.13 Signed-off-by: Benjamin Wang <wachao@vmware.com> 19 December 2022, 05:26:59 UTC
69ee8a8 bump go version to 1.17.13 Signed-off-by: Benjamin Wang <wachao@vmware.com> 19 December 2022, 05:23:16 UTC
3337f35 deps: bump golang.org/x/net to v0.4.0 to address CVEs CVE-2021-44716 CVE-2022-27664 Signed-off-by: Benjamin Wang <wachao@vmware.com> 19 December 2022, 01:28:07 UTC
b766840 security: use distroless base image to address critical Vulnerabilities Command: trivy image --severity CRITICAL gcr.io/etcd-development/etcd:v3.5.6 -f json -o 3.5.6_image_critical.json Signed-off-by: Benjamin Wang <wachao@vmware.com> 18 December 2022, 23:59:32 UTC
410a987 Merge pull request #15010 from 4everming/fix/Specify_branch_name_for_the_Trivy_Scan_in_release3.5 fix: specify the correct branch name of release-3.5 in workflow for… 17 December 2022, 08:13:36 UTC
d178292 cidc: specify the correct branch name of release-3.5 in workflow for trivy nightly scan To checkout the corresponding branch in cicd workflow. Specify the correct branch name in each branch. Signed-off-by: zsimon <zsimon@vmware.com> 17 December 2022, 07:30:26 UTC
3b7248b Merge pull request #15006 from ArkaSaha30/trivy-release-3-5 Add trivy nightly scan for `release-3.5` 16 December 2022, 05:59:33 UTC
4d3c840 Add trivy nightly scan for release-3.5 Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com> 16 December 2022, 05:29:14 UTC
f1842b6 Merge pull request #14995 from ahrtr/revert_14322_20221215 clientv3: revert the client side change in 14547 15 December 2022, 00:39:35 UTC
1fdfb42 clientv3: revert the client side change in 14547 In order to fix https://github.com/etcd-io/etcd/issues/12385, PR https://github.com/etcd-io/etcd/pull/14322 introduced a change in which the client side may retry based on the error message returned from server side. This is not good, as it's too fragile and it's also changed the protocol between client and server. Please see the discussion in https://github.com/kubernetes/kubernetes/pull/114403 Note: The issue https://github.com/etcd-io/etcd/issues/12385 only happens when auth is enabled, and client side reuse the same client to watch. So we decided to rollback the change on 3.5, reasons: 1.K8s doesn't enable auth at all. It has no any impact on K8s. 2.It's very easy for client application to workaround the issue. The client just needs to create a new client each time before watching. Signed-off-by: Benjamin Wang <wachao@vmware.com> 14 December 2022, 18:12:49 UTC
96ca27a client/pkg/v3: fixes Solaris build of transport Add empty implementation for reuse port socket option since Solaris does not support SO_REUSEPORT. (cherry picked from commit af626ebfdeb46c1025f9a717959b241fecc44d0a) Conflicts: client/pkg/transport/sockopt_unix.go Signed-off-by: Andrew Stormont <andyjstormont@gmail.com> 13 December 2022, 00:12:15 UTC
127e9c0 Merge pull request #14899 from ahrtr/fix_readyonly_txn_panic_3.5_20221206 [3.5] etcdserver: fix nil pointer panic for readonly txn 06 December 2022, 20:28:30 UTC
c1a8997 etcdserver: fix nil pointer panic for readonly txn Backporting https://github.com/etcd-io/etcd/pull/14895 Signed-off-by: Benjamin Wang <wachao@vmware.com> 06 December 2022, 10:16:49 UTC
0b47579 Merge pull request #14884 from mehvaibh/release-3.5 [3.5] Backport: non mutating requests pass through quotaKVServer when NOSPACE 05 December 2022, 23:20:52 UTC
22f599a Fix go fmt error Signed-off-by: Vaibhav Mehta <mehvaibh@amazon.com> 05 December 2022, 21:04:09 UTC
378ad6b [3.5] Backport: non mutating requests pass through quotaKVServer when NOSPACE Signed-off-by: Vaibhav Mehta <mehvaibh@amazon.com> 05 December 2022, 21:04:09 UTC
5454ca6 Merge pull request #14852 from ahrtr/remove_memberid_alarm_3.5_20221125 [3.5] etcdserver: intentionally set the memberID as 0 in corruption alarm 25 November 2022, 10:14:19 UTC
ba122c9 etcdserver: intentionally set the memberID as 0 in corruption alarm Signed-off-by: Benjamin Wang <wachao@vmware.com> 25 November 2022, 08:23:37 UTC
cecbe35 version: bump up to 3.5.6 21 November 2022, 14:54:14 UTC
d0424a7 Merge pull request #14816 from serathius/trim-v3.5 [3.5] trim build path 21 November 2022, 14:46:06 UTC
1a9742c release: build with consistent paths This changes the builds to always add -trimpath which removes specific build time paths from the binary (like current directories etc). Improves build reproducability to make the final binary independent from the specific build path. Lastly, when stripping debug symbols, also add -w to strip DWARF symbols as well which aren't needed in that case either. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> 21 November 2022, 14:19:51 UTC
7ccca08 Merge pull request #14799 from serathius/fix-client-fileutil-log [3.5] client/pkg/fileutil: add missing logger to {Create,Touch}DirAll 17 November 2022, 14:39:42 UTC
c919780 client/pkg/fileutil: add missing logger to {Create,Touch}DirAll Also populate it to every invocation. Signed-off-by: WangXiaoxiao <1141195807@qq.com> Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 17 November 2022, 13:08:30 UTC
b282163 Merge pull request #14790 from ahrtr/auth_3.5_20221117 [3.5] clientv3: do not refresh token when users use CommonName based authentication 17 November 2022, 09:16:42 UTC
4097c24 test: add test case to cover the CommonName based authentication Refer to https://github.com/etcd-io/etcd/issues/14764 Signed-off-by: Benjamin Wang <wachao@vmware.com> 17 November 2022, 01:10:49 UTC
9849fa7 test: add certificate with root CommonName Signed-off-by: Benjamin Wang <wachao@vmware.com> 16 November 2022, 21:56:43 UTC
69aace2 clientv3: do not refresh token when using TLS CommonName based authentication When users use the TLS CommonName based authentication, the authTokenBundle is always nil. But it's possible for the clients to get `rpctypes.ErrAuthOldRevision` response when the clients concurrently modify auth data (e.g, addUser, deleteUser etc.). In this case, there is no need to refresh the token; instead the clients just need to retry the operations (e.g. Put, Delete etc). Signed-off-by: Benjamin Wang <wachao@vmware.com> 16 November 2022, 21:54:52 UTC
5f387e6 Merge pull request #14733 from ahrtr/rev_inconsistency_3.5 [3.5] etcdserver: call the OnPreCommitUnsafe in unsafeCommit 14 November 2022, 09:54:22 UTC
563713e etcdserver: call the OnPreCommitUnsafe in unsafeCommit `unsafeCommit` is called by both `(*batchTxBuffered) commit` and `(*backend) defrag`. When users perform the defragmentation operation, etcd doesn't update the consistent index. If etcd crashes(e.g. panicking) in the process for whatever reason, then etcd replays the WAL entries starting from the latest snapshot, accordingly it may re-apply entries which might have already been applied, eventually the revision isn't consistent with other members. Refer to discussion in https://github.com/etcd-io/etcd/pull/14685 Signed-off-by: Benjamin Wang <wachao@vmware.com> 11 November 2022, 09:35:26 UTC
c2378be Merge pull request #13748 from kkkkun/add-warning-for-del add warning message when delete to release-3.5 05 November 2022, 08:51:01 UTC
6797856 add range flag for delete in etcdctl Signed-off-by: kkkkun <scuzk373x@gmail.com> 05 November 2022, 06:33:37 UTC
cc6a082 Merge pull request #14658 from ahrtr/double_barrier_3.5 [3.5] clientv3: fix the implementation of double barrier 02 November 2022, 14:16:11 UTC
2770720 Merge pull request #14676 from cenkalti/release-3.5 server: add more context to panic message 01 November 2022, 23:56:06 UTC
be4adc0 server: add more context to panic message Signed-off-by: Cenk Alti <cenkalti@gmail.com> 01 November 2022, 23:02:32 UTC
8902fe9 Merge pull request #14662 from falser101/release-3.5 [3.5] fix: close maintenance conn 31 October 2022, 09:49:19 UTC
45e31f6 fix:close conn Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io> 31 October 2022, 08:00:58 UTC
8e26a1f clientv3: fix the design & implementation of double barrier Check the client count before creating the ephemeral key, do not create the key if there are already too many clients. Check the count after creating the key again, if the total kvs is bigger than the expected count, then check the rev of the current key, and take action accordingly based on its rev. If its rev is in the first ${count}, then it's valid client, otherwise, it should fail. Signed-off-by: Benjamin Wang <wachao@vmware.com> 31 October 2022, 00:33:27 UTC
0a0f0e3 Merge pull request #14656 from ahrtr/test_dynamical_add_member test: added e2e test case for issue 14571: etcd doesn't load auth info when recovering from a snapshot 30 October 2022, 08:54:47 UTC
bd7405a test: added e2e test case for issue 14571: etcd doesn't load auth info when recovering from a snapshot Signed-off-by: Benjamin Wang <wachao@vmware.com> 30 October 2022, 06:49:13 UTC
17cb291 Merge pull request #14648 from mitake/test-authrecover-3.5 [3.5] server: refresh auth info when etcd recovers from a snapshot 29 October 2022, 05:43:42 UTC
1e96e0b etcdserver: call refreshRangePermCache on Recover() in AuthStore. #14574 Signed-off-by: Oleg Guba <oleg@dropbox.com> Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com> 29 October 2022, 04:56:08 UTC
efb9480 server: add a unit test case for authStore.Reocver() with empty rangePermCache Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com> 29 October 2022, 04:26:31 UTC
7cd9e5a Merge pull request #14593 from ZoeShaw101/fix-watch-test-panic-3.5 Backport #14591 to 3.5. 16 October 2022, 11:33:26 UTC
d78f6f7 Backport #14591 to 3.5. Signed-off-by: 王霄霄 <1141195807@qq.com> 16 October 2022, 10:52:57 UTC
ec6f0a7 Merge pull request #14500 from dusk125/release-3.5 Release-3.5: server/etcdmain: add configurable cipher list to gRPC proxy listener 15 October 2022, 22:35:17 UTC
62169d1 Merge pull request #14582 from tomari/tomari/watch-backoff-for-3.5 [3.5] client/v3: Add backoff before retry when watch stream returns unavailable 12 October 2022, 23:02:22 UTC
d3da22f client/v3: Add backoff before retry when watch stream returns unavailable The client retries connection without backoff when the server is gone after the watch stream is established. This results in high CPU usage in the client process. This change introduces backoff when the stream is failed and unavailable. Signed-off-by: Hisanobu Tomari <posco.grubb@gmail.com> 12 October 2022, 20:26:02 UTC
acc7463 Merge pull request #13861 from mrueg/rel3.5-fix-make2 [Release-3.5] Makefile: additional logic fix / Update Ubuntu base 12 October 2022, 18:17:42 UTC
2fb9be6 Merge pull request #14578 from ahrtr/wal_log_3.5 [3.5] etcdserver: added more debug log for the purgeFile goroutine 12 October 2022, 18:07:24 UTC
f6c4c84 etcdserver: added more debug log for the purgeFile goroutine Signed-off-by: Benjamin Wang <wachao@vmware.com> 12 October 2022, 11:28:32 UTC
3afd073 Merge pull request #14573 from pchan/automated-cherry-pick Automated cherry pick of #13224 #14572 12 October 2022, 01:39:05 UTC
e712234 netutil: make a `raw` URL comparison part of the urlsEqual function Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com> 11 October 2022, 11:28:56 UTC
3e195ba Apply suggestions from code review Co-authored-by: Lili Cosic <cosiclili@gmail.com> Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com> 11 October 2022, 11:28:56 UTC
25ef9b6 netutil: add url comparison without resolver to URLStringsEqual If one of the nodes in the cluster has lost a dns record, restarting the second node will break it. This PR makes an attempt to add a comparison without using a resolver, which allows to protect cluster from dns errors and does not break the current logic of comparing urls in the URLStringsEqual function. You can read more in the issue #7798 Fixes #7798 Signed-off-by: Prasad Chandrasekaran <prasadc@vmware.com> 11 October 2022, 11:28:56 UTC
5ff0d7f tests/Dockerfile: Switch to ubuntu 22.04 base ubuntu 20.10 is EOL and fails with E: The repository 'http://security.ubuntu.com/ubuntu groovy-security Release' does not have a Release file. Signed-off-by: Manuel Rüger <manuel@rueg.eu> 10 October 2022, 20:34:56 UTC
dce3fdb Makefile: Additional logic fix Signed-off-by: Manuel Rüger <manuel@rueg.eu> 10 October 2022, 20:30:49 UTC
07c7a98 Merge pull request #14563 from kafuu-chino/3.5-backport-14296 *: avoid closing a watch with ID 0 incorrectly 09 October 2022, 14:59:36 UTC
dd983c6 *: avoid closing a watch with ID 0 incorrectly Signed-off-by: Kafuu Chino <KafuuChinoQ@gmail.com> add test 1 1 1 1 1 1 08 October 2022, 12:06:19 UTC
5daf35b Merge pull request #14547 from mitake/3.5-backport-14322 Backport PR 14322 to release-3.5 03 October 2022, 22:37:46 UTC
528dd82 tests: a test case for watch with auth token expiration Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com> 03 October 2022, 14:08:23 UTC
7b568f2 *: handle auth invalid token and old revision errors in watch Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com> 03 October 2022, 14:00:13 UTC
db55011 server/etcdmain: add configurable cipher list to gRPC proxy listener Signed-off-by: Allen Ray <alray@redhat.com> 29 September 2022, 15:41:57 UTC
89d0fc4 Merge pull request #14489 from dims/Haimantika-replacejwtgo-in-release-3.5 Replace github.com/form3tech-oss/jwt-go with https://github.com/golang-jwt/jwt 20 September 2022, 02:19:02 UTC
653d6e1 Replace github.com/form3tech-oss/jwt-go with https://github.com/golang-jwt/jwt/v4 Signed-off-by: haimantika mitra <haimantikamitra@gmail.com> Signed-off-by: Davanum Srinivas <davanum@gmail.com> 19 September 2022, 19:35:08 UTC
19002cf version: bump up to 3.5.5 15 September 2022, 12:02:30 UTC
2ba1bab Merge pull request #14454 from ahrtr/fix_TestV3AuthRestartMember_20220913_3.5 [release-3.5] fix the flaky test TestV3AuthRestartMember 13 September 2022, 11:40:00 UTC
2f1171f fix the flaky test fix_TestV3AuthRestartMember_20220913 for 3.5 Signed-off-by: Benjamin Wang <wachao@vmware.com> 13 September 2022, 08:50:30 UTC
6c26693 Merge pull request #14178 from lavacat/release-3.5-txn-panic [3.5] server: don't panic in readonly serializable txn 13 September 2022, 06:44:38 UTC
646ba66 Merge pull request #14434 from tjungblu/bz_1918413_3.5 etcdctl: allow move-leader to connect to multiple endpoints 08 September 2022, 09:58:03 UTC
243b7a1 etcdctl: fix move-leader for multiple endpoints Due to a duplicate call of clientConfigFromCmd, the move-leader command would fail with "conflicting environment variable is shadowed by corresponding command-line flag". Also in scenarios where no command-line flag was supplied. Signed-off-by: Thomas Jungblut <tjungblu@redhat.com> 08 September 2022, 09:20:15 UTC
16d72c0 Merge pull request #14440 from vsvastey/usr/vsvastey/open-with-max-index-test-fix-3.5 [release-3.5] testing: fix TestOpenWithMaxIndex cleanup 08 September 2022, 08:59:46 UTC
eef5e22 testing: fix TestOpenWithMaxIndex cleanup A WAL object was closed by defer, however the WAL was rewritten afterwards, so defer closed already closed WAL but not the new one. It caused a data race between writing file and cleaning up a temporary test directory, which led to a non-deterministic bug. Fixes #14332 Signed-off-by: Vladimir Sokolov <vsvastey@gmail.com> 08 September 2022, 08:26:10 UTC
a5a33cb Merge pull request #14436 from serathius/arm64 [release-3.5] server/etcdmain: add build support for Apple M1 08 September 2022, 05:18:34 UTC
bb3fae4 Merge pull request #14409 from vivekpatani/release-3.5 [release-3.5] server,test: refresh cache on each NewAuthStore 08 September 2022, 05:08:35 UTC
7639d93 server,test: refresh cache on each NewAuthStore - permissions were incorrectly loaded on restarts. - #14355 - Backport of https://github.com/etcd-io/etcd/pull/14358 Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com> 07 September 2022, 17:22:05 UTC
c79f96d server/etcdmain: add build support for Apple M1 This has been additionally verified by running the tests locally as a basic smoke test. GitHub Actions doesn't provide MacOS M1 (arm64) yet, so there's no good way to automate testing. Ran `TMPDIR=/tmp make test` locally. The `TMPDIR` bit is needed so there's no really long path used that breaks Unix socket setup in one of the tests. Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 15:25:34 UTC
ba52d5a Merge pull request #14282 from serathius/fix-checks-v3.5 Fix corruption checks v3.5 07 September 2022, 14:29:46 UTC
2ddb9e0 tests: Fix member id in CORRUPT alarm Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:56 UTC
5660bf0 server: Make corrtuption check optional and period configurable Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:56 UTC
21fb173 server: Implement compaction hash checking Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:56 UTC
a56ec0b tests: Cover periodic check in tests Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:56 UTC
4a75e3d server: Refactor compaction checker Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:55 UTC
8d4ca10 tests: Move CorruptBBolt to testutil Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:55 UTC
a8020a0 tests: Rename corruptHash to CorruptBBolt Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:55 UTC
037a898 tests: Unify TestCompactionHash and extend it to also Delete keys and Defrag Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> 07 September 2022, 13:11:55 UTC
back to top