Commit Graph

22449 Commits

Author SHA1 Message Date
Davanum Srinivas
c3e4df6de1
Switch from grpc-ecosystem/go-grpc-prometheus to grpc-ecosystem/go-grpc-middleware/providers/prometheus
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-01-30 08:43:53 -05:00
Benjamin Wang
f5973c9c27
Merge pull request #19302 from ahrtr/metrics_20250129
Add e2e metrics test case to ensure no any metrics missing in future PRs
2025-01-30 09:13:39 +00:00
Benjamin Wang
c4a424a5b3 add e2e metrics test case to ensure no any metrics missing in future PRs
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-29 21:01:40 +00:00
Benjamin Wang
dd60559a8b
Merge pull request #19294 from ivanvc/changelog-3.5.18-dependencies
changelog: add entries regarding 3.5.18 dependency updates
2025-01-29 19:31:25 +00:00
Benjamin Wang
037de81526
Merge pull request #19298 from gangli113/experimentalFlag
migrate to use max-learners flag
2025-01-29 18:58:36 +00:00
Benjamin Wang
f3ba625119
Merge pull request #19291 from ivanvc/changelog-3.5-19275
changelog: add mixed rw performance evaluation backport
2025-01-29 17:49:10 +00:00
Benjamin Wang
d5b5679c46
Merge pull request #19293 from henrybear327/dependency/25_01_28
[2025-01-28] Bump dependency updates identified by dependabot
2025-01-29 16:40:16 +00:00
Benjamin Wang
6ed344fc71
Merge pull request #19301 from ahrtr/metrics_format_20250129
Format all prometheus metrics to ensure nice indent
2025-01-29 14:34:59 +00:00
Benjamin Wang
614640f1c2 format all prometheus metrics to ensure nice indent
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-29 13:42:14 +00:00
Gang Li
27d9978c8e migrate to use max-learners flag
Signed-off-by: Gang Li <gangligit@gmail.com>
2025-01-28 17:23:51 -08:00
Ivan Valdes
c6f911a0a4
changelog: add entries regarding 3.5.18 dependency updates
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-01-28 11:11:37 -08:00
Chun-Hung Tseng
ff76d1800a dependency: bump github.com/prometheus/common from 0.61.0 to 0.62.0
Reference:
- https://github.com/etcd-io/etcd/pull/19283

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-01-28 16:40:58 +00:00
Chun-Hung Tseng
c5544044b3 dependency: bump google.golang.org/grpc from 1.69.4 to 1.70.0
Reference:
- https://github.com/etcd-io/etcd/pull/19284

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-01-28 16:40:58 +00:00
Chun-Hung Tseng
2400016a5e dependency: bump github.com/cheggaaa/pb/v3 from 3.1.5 to 3.1.6 and github.com/mattn/go-colorable from 0.1.13 to 0.1.14
Reference:
- https://github.com/etcd-io/etcd/pull/19286

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-01-28 16:40:58 +00:00
Chun-Hung Tseng
70c2e17031 dependency: bump google.golang.org/protobuf from 1.36.3 to 1.36.4
Reference:
- https://github.com/etcd-io/etcd/pull/19287

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-01-28 16:40:58 +00:00
Chun-Hung Tseng
60e8485b48 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.25.1 to 2.26.0
Reference:
- https://github.com/etcd-io/etcd/pull/19288
- https://github.com/etcd-io/etcd/pull/19285

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-01-28 16:40:35 +00:00
Benjamin Wang
35d20d1e08
Merge pull request #19244 from henrybear327/e2e/downgrade_cancellation_e2e
Add downgrade cancellation e2e tests
2025-01-28 13:41:05 +00:00
Chun-Hung Tseng
2e41777edb Introduce ValidateMemberVersions
Signed-off-by: Chun-Hung Tseng <henrybear327@users.noreply.github.com>
2025-01-28 12:47:53 +00:00
Chun-Hung Tseng
a3c072c3e8 Add missing error checking after calling DowngradeUpgradeMembers
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
Signed-off-by: Chun-Hung Tseng <henrybear327@users.noreply.github.com>
2025-01-28 12:35:45 +00:00
Chun-Hung Tseng
e25eca27e3 Add downgrade cancellation e2e tests
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
Signed-off-by: Chun-Hung Tseng <henrybear327@users.noreply.github.com>
2025-01-28 12:35:45 +00:00
Marek Siarkowicz
291353bc09
Merge pull request #19281 from AwesomePatrol/fix-kubernetes-interface-docs
Fix documentation of List method of Kubernetes interface
2025-01-28 10:29:39 +01:00
Aleksander Mistewicz
62bbf2866b Fix documentation of List method of kubernetes interface
It wrongly asked the API user to use the last key of previous response
when they should append "\x00" to exclude the last key from the contents
of the next requested page.

Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
2025-01-28 09:30:54 +01:00
Benjamin Wang
2895b19f53
Merge pull request #19289 from etcd-io/dependabot/github_actions/actions/setup-go-5.3.0
build(deps): bump actions/setup-go from 5.2.0 to 5.3.0
2025-01-27 20:58:05 +00:00
Benjamin Wang
acc390844b
Merge pull request #19290 from etcd-io/dependabot/github_actions/github/codeql-action-3.28.5
build(deps): bump github/codeql-action from 3.28.1 to 3.28.5
2025-01-27 20:48:40 +00:00
Benjamin Wang
ee32f70eef
Merge pull request #19276 from ahrtr/downgrad_test_20250126
[Solution 2] Add `DowngradeVersionTestRequest` for Downgrade or migration test only
2025-01-27 20:23:06 +00:00
Ivan Valdes
8a1a396222
changelog: add mixed rw performance evaluation backport
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-01-27 11:29:13 -08:00
dependabot[bot]
a3bbf74dea
build(deps): bump github/codeql-action from 3.28.1 to 3.28.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.1 to 3.28.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b6a472f63d...f6091c0113)

---
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-01-27 17:52:44 +00:00
dependabot[bot]
5ebd47f7e7
build(deps): bump actions/setup-go from 5.2.0 to 5.3.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](3041bf56c9...f111f3307d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 17:52:35 +00:00
Marek Siarkowicz
e757a45d1d
Merge pull request #19269 from fuweid/test-robustness-list
tests/robustness: continue should ignore last key
2025-01-27 12:53:25 +01:00
Marek Siarkowicz
f98fa31fa0
Merge pull request #19255 from AwesomePatrol/add-version-to-robustness-model
Add Version field to the robustness model
2025-01-27 12:07:12 +01:00
Benjamin Wang
7b4b96d1dc Update unit test to verify WAL versions
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-27 09:52:13 +00:00
Benjamin Wang
d741e69263 Update MinimalEtcdVersion to read DowngradeVersionTest.Ver as WAL version
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-27 09:52:13 +00:00
Benjamin Wang
1036e4e7e5 Update etcdserve apply workflow to process DowngradeVersionTestRequest
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-27 09:52:13 +00:00
Benjamin Wang
2eca68e345 Add DowngradeVersionTestRequest as a field into InternalRaftRequest
Executed both scripts below again,
- ./scripts/genproto.sh
- ./scripts/update_proto_annotations.sh

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-27 09:52:05 +00:00
Benjamin Wang
63fe0f2851 Add DowngradeVersionTestRequest into api/etcdserverpb/rpc.proto for test purpose only
Executed both scripts below,
- ./scripts/genproto.sh
- ./scripts/update_proto_annotations.sh

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-27 09:39:41 +00:00
Marek Siarkowicz
f7a36a5566
Merge pull request #19279 from ahrtr/test_regression_20250126
Fix addMemberAsLearnerAndPromote to avoid error 'etcdserver: can only…
2025-01-27 09:49:57 +01:00
Benjamin Wang
c578649854 Fix addMemberAsLearnerAndPromote to avoid error 'etcdserver: can only promote a learner member'
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-26 18:30:34 +00:00
Marek Siarkowicz
532c60142f
Merge pull request #19272 from jmao-dd/jmao/19216-flakey-promote-learner-test
tests: Add retry if promote member fails.
2025-01-26 11:27:37 +01:00
Jiayin Mao
692947a621
tests: Add retry if promote member fails.
To handle the case of learner not being ready when being promoted, add
retry with some delay to improve the stability of e2e tests.

Signed-off-by: Jiayin Mao <jiayin.mao@datadoghq.com>
2025-01-26 00:54:41 +00:00
Benjamin Wang
8731c3151a
Merge pull request #19267 from gangli113/experimentalFlag
migrate to use bootstrap-defrag-threshold-megabytes flag
2025-01-25 08:16:47 +00:00
Wei Fu
564e362408 tests/robustness: continue should ignore last key
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-01-24 18:55:06 -05:00
Gang Li
267020e940 migrate to use bootstrap-defrag-threshold-megabytes flag
Signed-off-by: Gang Li <gangligit@gmail.com>
2025-01-24 13:21:48 -08:00
James Blair
65a17224ce
Merge pull request #19266 from ghouscht/changelog-release-3.5.18
docs(CHANGELOG): add release date of etcd v3.5.18
2025-01-25 10:13:09 +13:00
Thomas Gosteli
05e5aad2a6
docs(CHANGELOG): add release date of etcd v3.5.18
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch>
2025-01-24 20:42:45 +01:00
Benjamin Wang
2ee7e34cbc
Merge pull request #19264 from gangli113/experimentalFlag
migrate to use warning-apply-duration flag
2025-01-24 19:21:17 +00:00
Gang Li
7f1d3b017b migrate to use warning-apply-duration flag
Signed-off-by: Gang Li <gangligit@gmail.com>
2025-01-24 10:23:29 -08:00
Benjamin Wang
1c840f8435
Merge pull request #19263 from ahrtr/cluster_ver_20250123
Remove the code of checking ClusterVersionSet in MinimalEtcdVersion
2025-01-24 15:14:21 +00:00
Benjamin Wang
3e5e79dea0 Remove the code of checking ClusterVersionSet in MinimalEtcdVersion
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-24 14:23:53 +00:00
Marek Siarkowicz
e289ba3078
Merge pull request #19265 from redwrasse/redwrasse/rm-random-seed-robustness
Remove explicit random seed in robustness tests
2025-01-24 10:52:53 +01:00
redwrasse
43c6316420 robustness: remove explicit random seed in robustness tests.
Signed-off-by: redwrasse <mail@redwrasse.io>
2025-01-23 16:02:02 -08:00