Commit Graph
24973 Commits
Author SHA1 Message Date
Marek Siarkowicz d5806b148c tests: add unit test reproducing watch client data race
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2026-05-30 18:46:45 +02:00
Marek Siarkowicz 7e63ee1d3b tests: fix data race on client watch operations
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2026-05-30 18:46:41 +02:00
Marek Siarkowicz 38d7695399 Merge pull request #21859 from nwnt/refactor-test-index-range
Refactor mvcc.TestIndexRange
2026-05-30 17:59:47 +02:00
ArkaSaha30 8383605907 fix golangci-lint path, genproto, go.work.sum
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2026-05-30 21:29:13 +05:30
Nont 34d7ed2093 Refactor TestIndexRange
The test now uses named fields.

Signed-off-by: Nont <9658731+nwnt@users.noreply.github.com>
2026-05-30 10:29:46 -05:00
Marek Siarkowicz f7d6226ee6 Merge pull request #21808 from henrybear327/robustness/follow-up-change
robustness: follow up change for #21806
2026-05-30 17:03:33 +02:00
Marek Siarkowicz 64393ab650 Merge pull request #21857 from serathius/robustness-compare
robustness: optimize WAL entry comparison in history merging
2026-05-30 14:27:25 +02:00
Chun-Hung Tseng 41d117f71b robustness: improve error handling for NewTestReport
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-05-30 14:06:19 +02:00
Marek Siarkowicz eda36fb536 robustness: optimize WAL entry comparison in history merging
Replaces slow reflection-based 'cmp.Equal' and 'protocmp.Transform()' comparisons in 'mergeMembersEntries' with a custom, direct 'areEntriesEqual' helper. This helper leverages generated protobuf getters to compare fields directly, bypassing reflection while correctly supporting default-value comparisons. A simplified reflection mutation safeguard is also added to prevent the helper from drifting.

benchstat comparison:
goos: linux
goarch: amd64
pkg: go.etcd.io/etcd/tests/v3/robustness/report
cpu: AMD Ryzen Threadripper PRO 3945WX 12-Cores
                      │ current_results.txt │          new_results.txt          │
                      │       sec/op        │   sec/op     vs base              │
MergeMemberEntries-24        615867.3µ ± 3%   390.1µ ± 0%  -99.94% (p=0.002 n=6)

                      │ current_results.txt │           new_results.txt         │
                      │        B/op         │     B/op      vs base             │
MergeMemberEntries-24        56801.2Ki ± 0%   173.3Ki ± 0%  -99.69% (p=0.002 n=6)

                      │ current_results.txt │          new_results.txt          │
                      │      allocs/op      │  allocs/op   vs base              │
MergeMemberEntries-24         818.258k ± 0%   4.008k ± 0%  -99.51% (p=0.002 n=6)

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2026-05-30 13:26:38 +02:00
Benjamin Wang 3fa0c55fa9 Merge pull request #21848 from ahrtr/20260529_v2
Add `write-only-skip-check` option for `--v2-deprecation` to bypass the v2 content check
2026-05-30 08:59:44 +01:00
Marek Siarkowicz 6ab8664b90 Merge pull request #21807 from henrybear327/robustness/save_before_validation_v2
robustness: save etcd data before validation
2026-05-30 09:29:26 +02:00
Chun-Hung Tseng c43a9e30a1 robustness: save report data before validation
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2026-05-29 20:35:45 +02:00
Benjamin Wang 5dadeeedba Add V2Depr1WriteOnlySkipCheck to bypass the v2 content check
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-05-29 19:19:33 +01:00
Benjamin Wang 527dcfecb6 Merge pull request #21854 from ahrtr/20260529_dep
Update core dependencies matrix
2026-05-29 18:19:40 +01:00
Benjamin Wang 60e1ac8aec Merge pull request #21853 from ahrtr/20260529_gogo_changelog
Update 3.7 changelog to cover the gogo/protobuf migration
2026-05-29 18:19:19 +01:00
Benjamin Wang 2c5da5a06a Update core dependencies matrix
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-05-29 17:29:40 +01:00
Benjamin Wang 180c6f2cbf Update 3.7 changelog to cover the gogo/protobuf migration
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2026-05-29 17:23:53 +01:00
Marek Siarkowicz f6bc7a9650 Merge pull request #21757 from notandruu/traceutil-stable-log-message
traceutil: emit stable message name; move trace_id and operation to structured fields
2026-05-29 15:44:47 +02:00
ArkaSaha30 34cb04b653 dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.42.0 to 1.43.0
This commit will bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.42.0 to 1.43.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2026-05-29 18:35:43 +05:30
ArkaSaha30 d6e2c9015b dependency: bump github.com/golangci/golangci-lint/v2 from 2.11.4 to 2.12.2
This commit will bump github.com/golangci/golangci-lint/v2 from 2.11.4 to 2.12.2
Additionally also bumps:
- github.com/clipperhouse/displaywidth v0.11.0
- github.com/clipperhouse/uax29/v2 v2.7.0
- github.com/mattn/go-runewidth v0.0.23

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2026-05-29 18:35:42 +05:30
ArkaSaha30 5f615f9a0b dependency: bump golang.org/x/tools from 0.44.0 to 0.45.0
This commit will bump golang.org/x/tools from 0.44.0 to 0.45.0

Additionally also bump dependent modules:
- golang.org/x/net to v0.54.0
- golang.org/x/sys to v0.44.0
- golang.org/x/text to v0.37.0
- golang.org/x/crypto to v0.51.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>

fix

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2026-05-29 18:35:40 +05:30
ArkaSaha30 0327edafa1 dependency: bump google.golang.org/grpc/cmd/protoc-gen-go-grpc from 1.6.1 to 1.6.2
This commit will bump google.golang.org/grpc/cmd/protoc-gen-go-grpc from 1.6.1 to 1.6.2

Additionally it will also bump google.golang.org/grpc from 1.80.0 to 1.81.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2026-05-29 18:28:31 +05:30
Marek Siarkowicz 315e04328c Merge pull request #21847 from serathius/raft-confstate
server: Avoid dereferencing confstate
2026-05-29 14:11:22 +02:00
Marek Siarkowicz d3d866afd9 Merge pull request #21846 from serathius/robustness-raft
robustness: Fix defaulting for proto comparison when merging WAL history
2026-05-29 14:10:42 +02:00
Marek Siarkowicz fae90f9b1c server: Avoid dereferencing confstate
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2026-05-29 12:29:22 +02:00
Marek Siarkowicz 10f7eb564b robustness: Fix defaulting for proto comparison when merging WAL history
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2026-05-29 11:46:18 +02:00
Andrew Liu 2bba1d6bcd traceutil: fix gci import formatting in trace_test.go
gofmt expects 1-space minimum between the longest struct field name
and its type; the notExpectedMsg field (14 chars) was padded with
2 spaces, shifting all fields off by one. Reduced to 1-space minimum
so all types align at column 15.

Signed-off-by: Andrew Liu <andrewjliu22@gmail.com>
2026-05-29 01:16:18 -07:00
Iván Valdés Castillo 6640131cb6 Merge pull request #21836 from etcd-io/dependabot/github_actions/docker/login-action-4.2.0
build(deps): bump docker/login-action from 4.1.0 to 4.2.0
2026-05-28 20:28:43 -07:00
Iván Valdés Castillo 8ff746c2c1 Merge pull request #21837 from etcd-io/dependabot/github_actions/github/codeql-action-4.36.0
build(deps): bump github/codeql-action from 4.35.5 to 4.36.0
2026-05-28 18:52:02 -07:00
Fu Wei 3887b8256c Merge pull request #21824 from ivanvc/update-build-to-use-module-function
Update build pass to use workspace module function
2026-05-28 17:22:19 -04:00
dependabot[bot] 1b322cfdc9 build(deps): bump github/codeql-action from 4.35.5 to 4.36.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.5 to 4.36.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9e0d7b8d25671d64c341c19c0152d693099fb5ba...7211b7c8077ea37d8641b6271f6a365a22a5fbfa)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 19:36:47 +00:00
dependabot[bot] 872e151bcc build(deps): bump docker/login-action from 4.1.0 to 4.2.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/4907a6ddec9925e35a0a9e82d7399ccc52663121...650006c6eb7dba73a995cc03b0b2d7f5ca915bee)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 19:36:27 +00:00
Iván Valdés Castillo 11a92fdc20 Merge pull request #21826 from ivanvc/cleanup-pre-workspace-test-functions
Clean up old test functions
2026-05-28 10:48:26 -07:00
Marek Siarkowicz 64b66a1af2 Merge pull request #21833 from nwnt/add-fastkeysonly-changelog
Include fastkeysonly to v3.7 change log
2026-05-28 17:51:43 +02:00
Marek Siarkowicz 7c59a6442a Merge pull request #21835 from fuweid/update-fastkeyonly-bench
server/etcdserver/txn: add benchmark test for fastkeyonly
2026-05-28 17:05:16 +02:00
Marek Siarkowicz e48b0e6626 Merge pull request #21827 from nwnt/add-server-side-count-only-and-keys-only-test
Adding the tests for server-side range with keysOnly and countOnly
2026-05-28 16:53:08 +02:00
Nont a6604940b2 Include fastkeysonly to v3.7 change log
Signed-off-by: Nont <9658731+nwnt@users.noreply.github.com>
2026-05-28 09:43:45 -05:00
Wei Fu 23ce66a984 server/etcdserver/txn: add benchmark test for fastkeyonly
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2026-05-28 10:18:45 -04:00
Nont e40f9c68ea Add tests asserting the behavior of server-side range with keysOnly and countOnly
Signed-off-by: Nont <9658731+nwnt@users.noreply.github.com>
2026-05-28 09:01:37 -05:00
Ivan Valdes 3efab08d87 Clean up old test functions
These were used before the Go workspace. All test targets use the new
workspace-friendly functions.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-05-27 15:21:42 -07:00
Ivan Valdes 60c6fb2150 Update release to use workspace functions
Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-05-27 15:10:47 -07:00
Ivan Valdes 1a7200592d Update build pass to use workspace module function
Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-05-27 15:03:02 -07:00
Ivan Valdes 046ad86f60 Update run-govulncheck to use Go workspace function
Signed-off-by: Ivan Valdes <ivan@vald.es>
2026-05-27 14:46:56 -07:00
Marek Siarkowicz 5efa7e68b4 Merge pull request #21821 from serathius/rc0
Bump raft v3.7.0-rc.1 and bbolt v1.5.0-rc.0
2026-05-27 23:12:35 +02:00
Marek Siarkowicz f7cec1aa8d Update raft and bbolt dependencies to rc.0
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2026-05-27 22:23:50 +02:00
Marek Siarkowicz b497b144ad Merge pull request #21791 from nwnt/range-retrieval-changes-poc-and-benchmarking
keys-only Range optimization
2026-05-27 20:25:22 +02:00
Marek Siarkowicz e11f39c932 Merge pull request #21778 from serathius/bump-raft
Bump go.etcd.io/raft to v3.7.0-beta.0
2026-05-27 19:31:44 +02:00
Marek Siarkowicz 4715a5474c build: upgrade go.etcd.io/raft to v3.7.0-beta.0
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2026-05-27 16:38:40 +02:00
Fu Wei e8305deb24 Merge pull request #21145 from ivanvc/update-coverage-tests-to-use-new-functions
Rewrite coverage test execution to use new Go workspace functions
2026-05-26 20:04:21 -04:00
Marek Siarkowicz 3809c775d0 Merge pull request #21812 from serathius/robustness-keysonly
Add support for KeysOnly into robustness tests
2026-05-26 18:19:14 +02:00