Commit Graph
24973 Commits
Author SHA1 Message Date
dependabot[bot] df875c00a2 build(deps): bump distroless/static-debian13 from 15f8637 to 4488103
Bumps distroless/static-debian13 from `15f8637` to `4488103`.

---
updated-dependencies:
- dependency-name: distroless/static-debian13
  dependency-version: 448810357cc8e67b7208988abdba0f5ec3d3aebee0a5b13eb624979792cffc0f
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-01 17:36:05 +00:00
Fu Wei 34d8004033 Merge pull request #22669 from vivekpatani/distroless-debian13-3.7
[release-3.7] Dockerfile: bump base image to distroless static-debian13
2026-10-28 11:34:00 -04:00
vivekpatani 35da5f6e62 Dockerfile: bump base image to distroless static-debian13
- the debian 11 and 12 distroless images still trust the compromised eMudhra intermediate CAs, with no patched release
- see #22665

Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2026-10-27 16:52:53 -07:00
Ivan Valdes 0a173d0410 version: bump up to 3.7.3
Signed-off-by: Ivan Valdes <iv@a.ki>
v3.7.3 tests/v3.7.3 etcdctl/v3.7.3 etcdutl/v3.7.3 server/v3.7.3 client/v3.7.3 client/pkg/v3.7.3 pkg/v3.7.3 api/v3.7.3
2026-10-22 16:01:34 -07:00
Fu Wei 686007637b Merge pull request #22636 from k8s-infra-cherrypick-robot/cherry-pick-22609-to-release-3.7 2026-10-22 08:55:17 -04:00
Benjamin Wang 1f26f330f1 Merge pull request #22630 from Batianxieshen1/bump-go-1.26.10-3.7
[release-3.7] Build with Go 1.26.10
2026-10-21 18:33:46 +01:00
shubham3-ucb 2627f4f961 mvcc: fix data race between Hash and Restore
Signed-off-by: shubham3-ucb <shubham3@berkeley.edu>
2026-10-21 09:56:24 +00:00
Batianxieshen1 ecb079aa37 Build with Go 1.26.10
Go 1.26.10 was released and contains a fix for CVE-2026-111943. Per the
project's dependency management guidance, stable branches track the latest
patch release of the supported Go minor version, so bump the toolchain
directive in every module and the .go-version file from 1.26.9 to 1.26.10.

This covers the `release-3.7` branch item of #22628.

Signed-off-by: Batianxieshen1 <280706568+Batianxieshen1@users.noreply.github.com>
2026-10-20 16:16:08 +08:00
Benjamin Wang d6876b69ce Merge pull request #22607 from k8s-infra-cherrypick-robot/cherry-pick-22485-to-release-3.7
[release-3.7] etcdserver: keep Ready message order in processMessages
2026-10-18 10:36:36 +01:00
Ričardas Čubukinas e71275f785 etcdserver: keep Ready message order in processMessages
processMessages walks Ready messages last to first so it can keep only the newest MsgAppResp. Since #21810 and #21778 it appends survivors during that walk, so MsgApp leaves the leader in reverse log order. Followers reject those appends and the leader resends.

Keep the same filter and return survivors in Ready order, without modifying the Ready messages. TestProcessMessagesOrder now expects the same order as release-3.6.

Fixes #22483

Signed-off-by: Ričardas Čubukinas <29689012+xadips@users.noreply.github.com>
2026-10-17 19:33:05 +00:00
Benjamin Wang f0c2dc29c8 Merge pull request #22602 from k8s-infra-cherrypick-robot/cherry-pick-22599-to-release-3.7
[release-3.7] etcdserver: add test for processMessages output order
2026-10-16 18:58:25 +01:00
Benjamin Wang 4abfd67708 Merge pull request #22601 from k8s-infra-cherrypick-robot/cherry-pick-22596-to-release-3.7
[release-3.7] etcdserver: fix data race in keys-only RangeStream
2026-10-16 17:14:13 +01:00
Ričardas Čubukinas a0cc14dca9 etcdserver: add test for processMessages output order
Record the order in which processMessages returns Ready messages. It is currently reversed relative to the Ready order.

Part of #22483

Signed-off-by: Ričardas Čubukinas <29689012+xadips@users.noreply.github.com>
2026-10-16 15:15:26 +00:00
Jefftree 85e5514a19 etcdserver: fix data race in keys-only RangeStream
Clone the last key before appending \x00 so concurrent keys-only streams do not modify the shared key in the index.

Signed-off-by: Jefftree <jeffrey.ying86@live.com>
2026-10-16 14:44:43 +00:00
Oluwatobiloba Abidoye 0ae537c8c3 [release-3.7] Bump golang.org/x/net to v0.61.0 (#22583)
* [release-3.7] Bump golang.org/x/net to v0.61.0

Signed-off-by: Tobi Abidoye <tobiabidoye14@gmail.com>

* [release-3.7] Backport http2 server config migration from main

Signed-off-by: Tobi Abidoye <tobiabidoye14@gmail.com>

* [release-3.7] Update go.work.sum

Signed-off-by: Tobi Abidoye <tobiabidoye14@gmail.com>

---------

Signed-off-by: Tobi Abidoye <tobiabidoye14@gmail.com>
2026-10-15 18:26:48 +01:00
Chun-Hung Tseng 09a050518f tests: deflake revision monotonic leader restart test
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
(cherry picked from commit 0004f8e75e)
Signed-off-by: Kishen Viswanathan <kishen.viswanathan@ibm.com>
2026-10-14 15:37:28 +01:00
Benjamin Wang cc94ea1bda Merge pull request #22552 from tobiabidoye/bump-otel-3.7
[release-3.7] Bump otel to v1.45.0 to fix GO-2026-6505
2026-10-13 15:24:07 +01:00
Tobi Abidoye ab513727cf [release-3.7] Bump otel to v1.45.0 to fix GO-2026-6505
Signed-off-by: Tobi Abidoye <tobiabidoye14@gmail.com>
2026-10-12 22:15:52 -04:00
Benjamin Wang c4f7dbc8ad Merge pull request #22555 from charankooram/release-3.7-go-1.26.9
[release-3.7] Bump go to 1.26.9
2026-10-12 12:13:34 +01:00
Venkat KooramandCopilot App 2198a13529 Bump go to 1.26.9
Part of #22549.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Venkat Kooram <charan.kooram@gmail.com>
2026-10-09 19:48:24 +00:00
Benjamin Wang 6608534588 Merge pull request #22530 from dims/release-3.7-deprecate-journal-writer
[release-3.7] client/pkg: deprecate logutil.NewJournalWriter
2026-10-05 18:05:09 +01:00
Davanum Srinivas 406180439f logutil: deprecate NewJournalWriter
NewJournalWriter is the only user of github.com/coreos/go-systemd/v22
in the client/pkg/v3 module. Its only caller is the server's
--log-outputs=systemd/journal sink in server/embed. etcd v3.8 moves the
writer into server/embed and removes the exported function, so that
client packages no longer carry go-systemd in their module graph.

Mark the function as deprecated in 3.7, so that users get a staticcheck
warning before the removal. The server call site keeps using it until
v3.8, with a nolint comment.

Removal in v3.8: https://github.com/etcd-io/etcd/pull/22502

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-10-05 10:43:34 -04:00
Ivan Valdes 68c065e562 version: bump up to 3.7.2
Signed-off-by: Ivan Valdes <iv@a.ki>
v3.7.2 tests/v3.7.2 etcdctl/v3.7.2 etcdutl/v3.7.2 server/v3.7.2 client/v3.7.2 client/pkg/v3.7.2 pkg/v3.7.2 api/v3.7.2
2026-09-22 14:07:33 -07:00
Ivan Valdes b85cf4bc72 dependency: bump google.golang.org/grpc to v1.83.2
Addresses CVE-2026-84303.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-09-22 09:27:05 +01:00
Todd Hendricks 9e41c767d6 fileutil: close locked files when purging fails
Close the locked file when os.Remove fails. Log any close error while
preserving the original removal error returned to the caller.

Signed-off-by: Todd Hendricks <tjhendrx@icloud.com>
2026-09-21 19:09:14 +01:00
Ivan Valdes c1c6e178a7 Delete bump-devcontainer-version GitHub action
We cut the branch when this GitHub action had a syntax error. On top of
that, this action should only be targeting the main branch.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-09-11 20:24:52 +01:00
Iván Valdés Castillo ca26c7e9d3 Merge pull request #22413 from ivanvc/release-3.7-go-1.26.8
[release-3.7] Bump go to 1.26.8
2026-09-11 17:31:33 +00:00
shenmu.wy 9d58213733 fix: deflake TestIssue20271
Signed-off-by: shenmu.wy <shenmu.wy@antfin.com>
2026-09-11 10:41:21 +01:00
Ivan Valdes adb364646a Bump go to 1.26.8
Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-09-10 22:15:23 -07:00
Fu Wei 2632b79d8d Merge pull request #22404 from k8s-infra-cherrypick-robot/cherry-pick-22173-to-release-3.7
[release-3.7] Deflake `TestEtcdGrpcResolverRoundRobin`: sleep 1s to allow all grpc sub channels to be ready
2026-09-09 12:27:02 -04:00
Fu Wei 0c06cc3afa Merge pull request #22378 from k8s-infra-cherrypick-robot/cherry-pick-22314-to-release-3.7
[release-3.7] fix: fsync snap directory when saving a received snapshot db
2026-09-09 12:19:08 -04:00
Benjamin Wang 3d67b05792 Deflake TestEtcdGrpcResolverRoundRobin: sleep 1s to allow all grpc sub channel to be ready
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-09-09 09:03:36 +00:00
Gyuho Lee d9d66ca26f test: apply snap dir sync failpoint to retries
Signed-off-by: Gyuho Lee <gyuhol@nvidia.com>
2026-09-03 18:21:26 +00:00
Gyuho Lee bc625a805f fix: fsync snap directory when saving a received snapshot db
SaveDBFrom synced a received snapshot database before renaming it into place, but did not sync the containing directory. Linux fsync(2) documents that syncing a file does not necessarily persist its directory entry; the directory must also be synced.

The snapshot receiver calls SaveDBFrom before processing the Raft message, which can later sync the WAL snapshot record. Sync the snapshot directory after rename and on the existing-file retry path, and return sync errors so snapshot handling stops before Raft processing.

Add direct unit coverage that both SaveDBFrom paths invoke directory sync and propagate failures. Keep gofail E2E coverage scoped to failure/retry and crash-before-return control flow; remove tests and claims that did not establish directory-entry durability.

Signed-off-by: Gyuho Lee <gyuhol@nvidia.com>
2026-09-03 18:21:26 +00:00
Iván Valdés Castillo df66450a67 Merge pull request #22355 from etcd-io/dependabot/docker/release-3.7/distroless/static-debian12-d75cdd72874d4790092fcb1b058493ecf6bb5bf2b2b897045b00ff01d91843f2
build(deps): bump distroless/static-debian12 from `a9fcaed` to `d75cdd7`
2026-09-01 04:53:57 +00:00
dependabot[bot] c8b056b67f build(deps): bump distroless/static-debian12 from a9fcaed to d75cdd7
Bumps distroless/static-debian12 from `a9fcaed` to `d75cdd7`.

---
updated-dependencies:
- dependency-name: distroless/static-debian12
  dependency-version: d75cdd72874d4790092fcb1b058493ecf6bb5bf2b2b897045b00ff01d91843f2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-27 20:58:23 +00:00
Sharath P J 45f3fb2b8f Bump go 1.26.7
Signed-off-by: Sharath P J <pjsharath28@gmail.com>
2026-08-23 21:28:14 +01:00
Benjamin Wang fdbae47e78 Merge pull request #22287 from ivanvc/release-3.7-go-version-bump-1.26.6
[release-3.7] Bump Go to 1.26.6
2026-08-15 08:19:40 +01:00
Ivan Valdes e3b4000d83 Bump Go to 1.26.6
Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-08-14 15:12:40 -07:00
Benjamin Wang 75844b0c21 Merge pull request #22217 from k8s-infra-cherrypick-robot/cherry-pick-22208-to-release-3.7
[release-3.7] etcdctl: remove duplicate RaftTerm in endpoint status fields output
2026-07-29 17:06:13 +01:00
Anvesh Reddy Pinnapureddy 16b7d3b8d1 etcdctl: remove duplicate RaftTerm in endpoint status fields output The fields output for endpoint status currently prints RaftTerm twice, once from the response header and the other from the status body. Both of them come from the same raft term, so the second one is redundant.
Dropped the extra print so RaftTerm only shows up once, to match with the table and json output.

Signed-off-by: Anvesh Reddy Pinnapureddy <anveshreddypinnapareddy802@gmail.com>
2026-07-29 12:35:51 +00:00
Iván Valdés Castillo ad01edc8bf Merge pull request #22175 from etcd-io/dependabot/docker/release-3.7/distroless/static-debian12-a9fcaedd4c9b59e12dd65d954f0b5044f19b0647a8a3712e77205df9e7b102cd
build(deps): bump distroless/static-debian12 from `9c346e4` to `a9fcaed`
2026-07-28 15:06:06 -07:00
Benjamin Wang 547e001b14 Merge pull request #22201 from k8s-infra-cherrypick-robot/cherry-pick-22171-to-release-3.7
[release-3.7] Update MinimalEtcdVersion to read latest snapshot entry from WAL
2026-07-28 09:24:42 +01:00
Benjamin Wang 23b61e6d98 Update MinimalEtcdVersion to read latest snapshot entry from WAL
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-07-27 20:37:13 +00:00
dependabot[bot] 550fca00c7 build(deps): bump distroless/static-debian12 from 9c346e4 to a9fcaed
Bumps distroless/static-debian12 from `9c346e4` to `a9fcaed`.

---
updated-dependencies:
- dependency-name: distroless/static-debian12
  dependency-version: a9fcaedd4c9b59e12dd65d954f0b5044f19b0647a8a3712e77205df9e7b102cd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 20:27:05 +00:00
Benjamin Wang d032b4a86c Merge pull request #22198 from ivanvc/release-3.7-otel-1.44.0
[release-3.7] dependency: bump go.opentelemetry.io/otel to v1.44.0
2026-07-27 20:50:18 +01:00
Ivan Valdes 646c90ff96 dependency: bump go.opentelemetry.io/otel to v1.44.0
Addresses CVE-2026-41178 / GO-2026-5158 / GHSA-5wrp-cwcj-q835. Which is
making govulncheck fail.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-07-26 22:33:04 -07:00
Ivan Valdes 5e7fd0de9a version: bump up to 3.7.1
Signed-off-by: Ivan Valdes <iv@a.ki>
v3.7.1 tests/v3.7.1 etcdctl/v3.7.1 etcdutl/v3.7.1 server/v3.7.1 client/v3.7.1 client/pkg/v3.7.1 pkg/v3.7.1 api/v3.7.1
2026-07-23 12:30:42 -07:00
Fu Wei 84badbfe09 Merge pull request #22139 from k8s-infra-cherrypick-robot/cherry-pick-22134-to-release-3.7
[release-3.7] Fix the `costTxnReq` ignores nested `RequestTxn` issue
2026-07-22 08:36:11 -04:00
Benjamin Wang bbab9ca5d1 Merge pull request #22145 from k8s-infra-cherrypick-robot/cherry-pick-22131-to-release-3.7
[release-3.7] Set a reasonable value for `snapshotLimitByte`
2026-07-22 12:41:41 +01:00