16221 Commits

Author SHA1 Message Date
Chun-Hung Tseng
f0534f45c6
[release-3.4] go version bump from 1.21.12 to 1.21.13
Reference: https://github.com/etcd-io/etcd/issues/18419
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:31:45 +02:00
Marek Siarkowicz
74ae47fa3b
Merge pull request #18396 from serathius/release-3.4-gofail
Upgrade gofail to v0.2.0
2024-08-02 09:31:52 +02:00
Marek Siarkowicz
a071846677 Upgrade gofail to v0.2.0
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-08-02 08:52:43 +02:00
Marek Siarkowicz
6d8a259951
Merge pull request #18389 from etcd-io/dependabot/docker/release-3.4/distroless/static-debian11-1dbe426d60caed5d19597532a2d74c8056cd7b1674042b88f7328690b5ead8ed
build(deps): bump distroless/static-debian11 from `6d31326` to `1dbe426`
2024-08-01 20:41:11 +02:00
dependabot[bot]
2b25e04137
build(deps): bump distroless/static-debian11 from 6d31326 to 1dbe426
Bumps distroless/static-debian11 from `6d31326` to `1dbe426`.

---
updated-dependencies:
- dependency-name: distroless/static-debian11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 17:57:26 +00:00
James Blair
8bd8d2bf8e
Merge pull request #18345 from jmhbnz/release-3.4
[3.4] Remove gsutil acl command for bucket permissions
2024-07-20 19:59:11 +12:00
James Blair
a1375b7814
Remove gsutil acl command for bucket permissions.
The bucket is already fully public so new releases don't need to run this command.

This will prevent significant terminal spam during the release process as there are thousands of objects in the bucket.

Backports f0246a9f84

Signed-off-by: James Blair <mail@jamesblair.net>
2024-07-20 11:47:58 +12:00
Benjamin Wang
dae8ba65ef
Merge pull request #18311 from mohamedawnallah/backport-3.4-fmtgRPCMetadata
[3.4] client/v3/watch.go: use fmt go pkg for gRPC metadata map printing
2024-07-13 07:02:41 +01:00
Mohamed Awnallah
65421460b1
client/v3/watch_test.go: test fmt metadata print
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Benjamin Wang <ahrtr>
2024-07-13 01:36:41 +03:00
Mohamed Awnallah
3e71cf50f5
client/v3/watch.go: use fmt for metadata printing
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-07-12 14:36:38 +03:00
Benjamin Wang
518accfded
Merge pull request #18215 from thedtripp/feature/fixFailingReviveChecks
[3.4] installed revive on CI and added doc.go to fix revive linter errors
2024-07-04 13:09:28 +01:00
D Tripp
a72fe1b4c2 etcd 3.4: Fix failing revive checks.
Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-07-03 23:44:16 +00:00
D Tripp
640e54552a etcd 3.4: Install revive linter on CI if not installed.
This is based on commit 4f238837aa and pull request https://github.com/etcd-io/etcd/pull/14872.

Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-07-03 23:44:16 +00:00
Benjamin Wang
f4e506aa24
Merge pull request #18272 from thedtripp/3.4go-2024-2963
[3.4]: Bump Go version to 1.21.12: GO-2024-2963 fix.
2024-07-03 07:30:57 +01:00
D Tripp
45d26bcc60 3.4: Bump Go version to 1.21.12: GO-2024-2963 fix.
Based on commit 74533d94b2ce4cb5bde19c02a652ade7fa9dc5d4 and https://github.com/etcd-io/etcd/pull/18130/

Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-07-03 05:31:08 +00:00
James Blair
9873813674
Merge pull request #18248 from thedtripp/feature/installShellcheckBackport3.4
[3.4] Install shellcheck if it is not present
2024-06-30 05:08:33 +12:00
D Tripp
e3c0ac0bec etcd 3.4: Install shellcheck if not installed.
Include conditional logic to install shellcheck with correct architecture.

This is based on commit 4f23883 and pull request etcd-io#14872.

Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-06-28 23:34:25 +00:00
D Tripp
f599316654 etcd 3.4: fix shellcheck violations [SC2086] by adding double quotes to variables where needed.
Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-06-28 23:32:36 +00:00
Wenjia Zhang
5cd1d285d7 Bump the version to 3.4.33
Signed-off-by: Wenjia Zhang <wenjiazhang@google.com>
v3.4.33
2024-06-13 14:10:46 +00:00
Benjamin Wang
88ff600ed9
Merge pull request #18139 from ahrtr/3.4_apply_log_20240606
[3.4] print error log when validation on conf change failed
2024-06-07 09:53:21 +01:00
Benjamin Wang
f0276cb4fa print error log when validation on conf change failed
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-06-06 19:34:44 +01:00
Benjamin Wang
041cd4eb31
Merge pull request #18130 from ArkaSaha30/release-3.4-cve-2024-24790
[3.4]Bump Go version to 1.21.11: CVE 2024-24790 fix
2024-06-05 10:37:46 +01:00
ArkaSaha30
74533d94b2
Bump Go version to 1.21.11: CVE 2024-24790 fix
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 13:56:43 +05:30
Marek Siarkowicz
88c2295768
Merge pull request #18106 from ivanvc/release-3.4-scripts-release-shallow-git-clone
[3.4] scripts/release: shallow clone repository
2024-06-01 07:21:23 +02:00
Ivan Valdes
0e17a3310e
scripts/release: shallow clone repository
Backport of commit 4881e53677f6cb592aa1cf7ee15bfd51e6cf1ff9 / pull
request #18095.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-31 15:39:51 -07:00
James Blair
d37a470645
Merge pull request #18016 from MadhavJivrajani/go-version-setup
[release-3.4]  Setup a way to consistently manage go versions across scripts and go.mods
2024-05-16 20:58:56 +12:00
Madhav Jivrajani
90666624f3 .*: sync go toolchain version and add ability to verify versions
This commit adds a script to sync the version present in .go-version
across all go.mod files as the toolchain directive. As part of that,
this commit also modifies go.mod files that did not have synced toolchain
directives.

Additionally, this also adds a script to verify all toolchain and go
directives against the version present in .go-version as follows:
(1) The go directive <= version in .go-version
(2) The toolchain directive == version in .go-version

This script runs as part of the `make verify` target, making it run
as a presbumit by default.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-15 15:35:21 +05:30
Benjamin Wang
70cc6cce7e
Merge pull request #17981 from lavishpal/update/golang-to-1.21.10
[3.4] dependency: update golang to 1.21.10
2024-05-10 20:04:10 +01:00
Lavish pal
6566399fa9 update golang to 1.21.10
Signed-off-by: Lavish pal <lvishpal408@gmail.com>
2024-05-10 18:46:43 +05:30
Benjamin Wang
ce4e46202a
Merge pull request #17945 from tjungblu/bboltbump3.4_1.3.10
Bump bbolt to 1.3.10 for 3.4
2024-05-06 11:53:36 +01:00
Thomas Jungblut
1f138ae558 Bump bbolt to 1.3.10 for 3.4
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-06 11:34:57 +02:00
James Blair
6f05ab9e99
Merge pull request #17919 from etcd-io/dependabot/docker/release-3.4/distroless/static-debian11-6d31326376a7834b106f281b04f67b5d015c31732f594930f2ea81365f99d60c
build(deps): bump distroless/static-debian11 from `046b92c` to `6d31326`
2024-05-03 05:35:25 +12:00
dependabot[bot]
61acd0f257
build(deps): bump distroless/static-debian11 from 046b92c to 6d31326
Bumps distroless/static-debian11 from `046b92c` to `6d31326`.

---
updated-dependencies:
- dependency-name: distroless/static-debian11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 17:23:54 +00:00
Benjamin Wang
4ac6554c44
Merge pull request #17896 from ivanvc/release-3.4-fix-grpc-proxy-member-list-not-updated-with-node-deletion
[3.4] fix grpc proxy member list not updated with node deletion
2024-04-30 19:55:07 +01:00
Ivan Valdes
f65ff88511
grpcproxy: fix memberlist results not update when proxy node down
If grpc starts with `--resolver-prefix`, its memberlist will return all
alive proxy nodes. When one GRPC proxy node goes down it shouldn't
return that node, however, it's returned.

Backport of PR #15907 / commit ecfed91e5050431385961573e5c09658a66a59d5.

Co-authored-by: yellowzf <zzhf3311@163.com>
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-29 10:22:00 -07:00
Sahdev Zala
9ac4e7ef06 bump version to 3.4.32
Signed-off-by: Sahdev Zala <spzala@us.ibm.com>
v3.4.32
2024-04-25 17:47:34 +00:00
Benjamin Wang
1d02c16e2a
Merge pull request #17864 from fuweid/backport-17815-34
[3.4] fix revision loss issue caused by compaction - 17780
2024-04-25 14:26:14 +01:00
Wei Fu
4cb197e0fa mvcc: should update currentRev in revMu
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 11:16:19 +08:00
Wei Fu
41eb03a55e mvcc: update currentRev if scheduledCompact > currentRev
Signed-off-by: Wei Fu <fuweid89@gmail.com>
(cherry picked from commit 9ea234913a99670d18b66aa23915781f89713177)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 11:16:13 +08:00
Wei Fu
a9727e6016 tests/e2e: reproduce #17780
Signed-off-by: Wei Fu <fuweid89@gmail.com>
(cherry picked from commit 71733911544f8fce6d06d2a8e9cca0944b3659be)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 11:02:25 +08:00
Wei Fu
844c4b02f7 tests/e2e: support CompactionBatchLimit flag
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 11:02:01 +08:00
Wei Fu
dcda47dc29 mvcc: introduce compactBeforeSetFinishedCompact failpoint
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 10:30:36 +08:00
Benjamin Wang
48b0c496c0
Merge pull request #17821 from siyuanfoundation/3.4-downgrade
[3.4] Allow updateClusterVersion when downgrading from 3.5.
2024-04-23 09:55:14 +01:00
Benjamin Wang
913a0805f9
Merge pull request #17831 from ahrtr/3.4_update_compact_log_bootstrap_20240421
[3.4] Update the compaction log when bootstrap and update compact's signature
2024-04-23 09:50:52 +01:00
Siyuan Zhang
0d62c99777 Allow updateClusterVersion when downgrading from 3.5.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-04-22 22:39:03 +00:00
Benjamin Wang
f8f186490b Update the compaction log when bootstrap and update compact's signature
Actually the compact() never return an error, so remove the second return
parameter.

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-21 13:24:10 +01:00
Benjamin Wang
6093ab9033
Merge pull request #17814 from henrybear327/backport-3.4/ignore-raft-messages-if-member-id-mismatch
[backport-3.4] server: ignore raft messages if member id mismatch
2024-04-18 13:27:35 +01:00
Chun-Hung Tseng
1b53a26cae
[backport-3.4] server: ignore raft messages if member id mismatch #17078
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-17 13:50:15 +02:00
James Blair
d7205ca5e3
Merge pull request #17715 from ArkaSaha30/trivy-scan-head-3.4
[3.4]Add trivy scan for current branch HEAD
2024-04-06 21:48:16 +02:00
Benjamin Wang
87113dd4ab
Merge pull request #17714 from henrybear327/backport-3.4/add-initialization-for-epMu-in-contetx-client
Backport initialization of epMu in NewCtxClient to release-3.4
2024-04-05 10:29:01 +01:00