Commit Graph

22759 Commits

Author SHA1 Message Date
Ivan Valdes
1f4b3cdf52
Fix deprecation comments in server/features
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 10:05:52 -08:00
Ivan Valdes
7ba8929e7b
Fix deprecation comments in server/embed
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 10:05:03 -08:00
Ivan Valdes
95efe44ae0
Fix rpctypes.ErrClusterIdMismatch deprecation comment
It was pointing to ErrGRPCClusterIDMismatch rather than
ErrClusterIDMismatch.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 10:02:33 -08:00
Benjamin Wang
f30cbaac11
Merge pull request #19398 from ahrtr/downgrade_test_20250212
[test] Correct the expected version in downgrade test case
2025-02-12 15:56:47 +00:00
Benjamin Wang
57dc6f375a Correct the expected version in downgrade test case
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-12 11:02:48 +00:00
Marek Siarkowicz
c0e7e8c873
Merge pull request #19370 from shashwat010/visualize
Remove passing of anonymous visualize function
2025-02-12 10:45:14 +01:00
shashwat-jain
5414dbab4a Merge remote-tracking branch 'etcd/main' into visualize 2025-02-12 11:36:26 +05:30
shashwat-jain
1709422e21 Remove passing of anonymous visualize function
Signed-off-by: shashwat-jain <shashwat.jain@salesforce.com>
2025-02-12 11:26:10 +05:30
Benjamin Wang
fefce5498f
Merge pull request #19386 from ivanvc/release-3.4-changelog-19197
CHANGELOG-3.4: Add entry from #19197
2025-02-11 22:13:03 +00:00
Benjamin Wang
0dfc7ab52c
Merge pull request #19388 from ahrtr/refactor_20250211
Minor refacotr on the e2e test framework
2025-02-11 22:00:27 +00:00
Benjamin Wang
5703e6b387 Minor refacotr on the e2e test framework
Also resolved the review comment in https://github.com/etcd-io/etcd/pull/19352

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-11 20:32:21 +00:00
Benjamin Wang
53d44f0f9c
Merge pull request #19352 from ajaysundark/migrate-experimental-snapshot-catch-up-entries
migrate experimental-snapshot-catchup-entries flag to snapshot-catchup-entries
2025-02-11 20:15:17 +00:00
Ajay Sundar Karuppasamy
5802231328 migrate experimental-snapshot-catchup-entries flag to snapshot-catchup-entries
Signed-off-by: Ajay Sundar Karuppasamy <ajaysundar@google.com>
2025-02-11 19:17:17 +00:00
Benjamin Wang
f197f44537
Merge pull request #19385 from ahrtr/tracing_20250211
Migrate experimental distributed tracing flags to non-experimental flags
2025-02-11 18:04:28 +00:00
Ivan Valdes
b746159a22
CHANGELOG-3.4: Add entry from #19197
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-11 09:32:01 -08:00
Benjamin Wang
a9b8cba602 Migrate experimental distributed tracing flags to non-experimental flags
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-11 15:29:16 +00:00
Benjamin Wang
1ea4f435cc
Merge pull request #19381 from henrybear327/dependency/2025_02_10
[2025-02-10] Bump dependency updates identified by dependabot
2025-02-11 07:50:59 +00:00
Benjamin Wang
ad3301099a
Merge pull request #19350 from aladesawe/server-wal-version-unexported-return
Migrate WALVersion to fix unexported-return of walVersion
2025-02-10 21:42:13 +00:00
Benjamin Wang
fa2926adb0
Merge pull request #19375 from etcd-io/dependabot/github_actions/github/codeql-action-3.28.9
build(deps): bump github/codeql-action from 3.28.8 to 3.28.9
2025-02-10 21:27:41 +00:00
Chun-Hung Tseng
04cce9759b dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.26.0 to 2.26.1, bump google.golang.org/genproto/googleapis/rpc from v0.0.0-20250115164207-1a7da9e5054f to v0.0.0-20250204164813-702378808489, and google.golang.org/protobuf from v1.36.4 to v1.36.5
Reference:
- https://github.com/etcd-io/etcd/pull/19374
- https://github.com/etcd-io/etcd/pull/19380

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
Chun-Hung Tseng
b31311ebb0 dependency: bump golang.org/x/crypto from 0.32.0 to 0.33.0 and bump golang.org/x/text from 0.21.0 to 0.22.0
Reference:
- https://github.com/etcd-io/etcd/pull/19378
- https://github.com/etcd-io/etcd/pull/19379

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
Chun-Hung Tseng
2cffac9916 dependency: bump golang.org/x/time from 0.9.0 to 0.10.0
Reference:
- https://github.com/etcd-io/etcd/pull/19377

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
Chun-Hung Tseng
ab88026649 dependency: bump golang.org/x/sys from 0.29.0 to 0.30.0
Reference:
- https://github.com/etcd-io/etcd/pull/19376

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
Chun-Hung Tseng
2908d45333 dependency: bump gotest.tools/v3 from 3.5.1 to 3.5.2
Reference:
- https://github.com/etcd-io/etcd/pull/19373

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
Chun-Hung Tseng
948a464f16 dependency: bump github.com/google/yamlfmt from 0.15.0 to 0.16.0
Reference:
- https://github.com/etcd-io/etcd/pull/19372

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
Marek Siarkowicz
e499f01400
Merge pull request #19364 from ivanvc/improve-coverage-upload
codecov: improve coverage upload
2025-02-10 20:01:40 +01:00
dependabot[bot]
097be8cff3
build(deps): bump github/codeql-action from 3.28.8 to 3.28.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.8 to 3.28.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](dd746615b3...9e8d0789d4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 17:44:33 +00:00
Benjamin Wang
38bb52acd3
Merge pull request #19367 from henrybear327/e2e/fix_downgrade_node_election_log
Fix a log formatting bug in the e2e downgrade tests
2025-02-10 11:51:41 +00:00
Chun-Hung Tseng
89dd13f93b Fix a log formatting bug in the e2e downgrade tests
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
2025-02-10 10:44:25 +00:00
adeyemi
94758c1760 Migrate WALVersion, and reuse in schema.go
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-02-07 17:48:10 -08:00
Ivan Valdes
6c866548dc
codecov: improve coverage upload
Align running the code coverage upload with other workflows by
executing it from a Makefile target.

Update the current GitHub workflow to call this new target.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-07 14:21:26 -08:00
Benjamin Wang
9de211ddf8
Merge pull request #19362 from siyuanfoundation/lease-checkpoint
migrate experimental-peer-skip-client-san-verification flag to peer-skip-client-san-verification
2025-02-07 19:55:19 +00:00
Siyuan Zhang
a3a467bf39 migrate experimental-peer-skip-client-san-verification flag to peer-skip-client-san-verification
Co-authored-by: wodeyoulai <106662970@qq.com>

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-02-07 10:35:03 -08:00
Benjamin Wang
e25d605687
Merge pull request #19361 from ahrtr/changelog_20250207
Update 3.6 changelog to cover the etcdutl status command change
2025-02-07 16:42:24 +00:00
Benjamin Wang
b2d352b787
Merge pull request #19359 from ahrtr/test_20250207
Add more debug info into waitTillSnapshot
2025-02-07 15:24:16 +00:00
Benjamin Wang
969fd548dc Update 3.6 changelog to cover the etcdutl status command change
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-07 15:23:20 +00:00
Benjamin Wang
a747fdebbc
Merge pull request #19344 from jxustc/fix/etcdutl-key-count
etcdutl: use map to count unique user keys in snapshot status
2025-02-07 15:15:18 +00:00
Benjamin Wang
a090db470b
Merge pull request #19356 from siyuanfoundation/lease-checkpoint
migrate experimental-enable-lease-checkpoint and experimental-enable-lease-checkpoint-persist flag to feature gate.
2025-02-07 15:14:40 +00:00
Benjamin Wang
34546e9aa0 Add more debug info into waitTillSnapshot
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-07 12:14:49 +00:00
Xiang Ji
2d377000ff etcdutl: use map to count unique user keys in snapshot status
The new implementation:
- Uses map to track unique keys for accurate counting
- Excludes internal built-in keys from total count
- Improves code maintainability

Although this approach uses additional memory for the map, the trade-off
is acceptable since:
- Status() is not in hot path
- Correctness takes priority over performance optimization
- Simpler code is easier to maintain

Fixes #19253

Signed-off-by: Xiang Ji <johnsmith.jix@gmail.com>
2025-02-07 19:56:06 +08:00
Benjamin Wang
3db34683c9
Merge pull request #19052 from aladesawe/server-auth-unexported-return
server: fix unexported-return lint issue
2025-02-07 07:51:55 +00:00
adeyemi
db05deaf02 server: fix unexported-return using interfaces
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-02-06 15:21:20 -08:00
Siyuan Zhang
2cd8fcce5d migrate experimental-enable-lease-checkpoint and experimental-enable-lease-checkpoint-persist flag to feature gate.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-02-06 14:31:00 -08:00
Benjamin Wang
8e0ea3461e
Merge pull request #19351 from ajaysundark/migrate-experimental-compaction-sleep-interval
migrate experimental-compaction-sleep-interval flag to compaction-sleep interval
2025-02-06 19:52:42 +00:00
Benjamin Wang
8c263d2b43
Merge pull request #19353 from fuweid/fix-19179-robustness
test: update robustness doc and new case to reproduce 19179
2025-02-06 19:49:11 +00:00
Ajay Sundar Karuppasamy
e5b39f85a4 migrate experimental-compaction-sleep-interval flag to compaction-sleep-interval
Signed-off-by: Ajay Sundar Karuppasamy <ajaysundar@google.com>
2025-02-06 18:54:32 +00:00
Benjamin Wang
299bca3afa
Merge pull request #19328 from ajaysundark/migrate-experimental-downgrade-check-time
migrate experimental-downgrade-checktime to downgrade-checktime
2025-02-06 17:58:37 +00:00
Wei Fu
8866fce73f test: update robustness doc and new case to reproduce 19179
NOTE: It's still hard to reproduce it. It may take 5 minutes or few
hours.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-02-06 10:24:52 -05:00
Benjamin Wang
f1d09c0e6b
Merge pull request #19348 from gangli113/downgradetest
increase timeout for MemberDowngradeUpgrade test
2025-02-06 13:07:19 +00:00
Benjamin Wang
c6b9e9e927
Merge pull request #19338 from marcelfranca/issue/19333-changelog-1.22.12
changelog: update GO entry to reflect 1.22.12 update
2025-02-06 09:38:17 +00:00