20601 Commits

Author SHA1 Message Date
James Blair
c3c029d057
CHANGELOG: Add 3.5.11 note for --experimental-distributed-tracing-sampling-rate.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-27 09:15:42 +13:00
Marek Siarkowicz
7fb6b756a5
Merge pull request #17020 from ahrtr/cleanup_20231125
Remove unused method and function
2023-11-25 20:30:44 +01:00
Marek Siarkowicz
ce0a737ab1
Merge pull request #17018 from moficodes/patch-01
add initialization for epMu in contetx client
2023-11-25 20:16:38 +01:00
Benjamin Wang
a97052acf4 remove unused method and functions
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-11-25 16:16:52 +00:00
Benjamin Wang
e6595825ae
Merge pull request #17014 from serathius/test-membership-bootstrap
Add a simple test ensuring membership is properly bootstrapped
2023-11-25 15:23:33 +00:00
Mofi Rahman
52a9b9d96c
add initialization for epMu in contetx client
fixes #17001

Signed-off-by: Mofi Rahman <mofi@google.com>
2023-11-24 20:57:40 +00:00
Marek Siarkowicz
a968c1f5b3 Add a simple test ensuring membership is properly bootstrapped
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-24 12:21:59 +01:00
Marek Siarkowicz
6db5e00103
Merge pull request #17013 from serathius/deduplicate-shouldApplyV3
Move duplicated shouldApplyV3 logic up into apply method
2023-11-24 11:49:21 +01:00
Benjamin Wang
c975f24202
Merge pull request #16950 from mingli103/e2e-test-arm64
etcd-e2d-test:rename e2e-arm64 file and runs it on every pull request…
2023-11-24 09:54:25 +00:00
Marek Siarkowicz
7fdb33065d Move duplicated shouldApplyV3 logic up into apply method
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-24 10:21:14 +01:00
Benjamin Wang
82fe457b29
Merge pull request #16920 from shaoqin2/shlu/contribfest
clientv3test: add comments for clientv3test
2023-11-23 20:33:28 +00:00
Benjamin Wang
904c0769e9
Merge pull request #16998 from ahrtr/3.4.28_changelog
Update changelog for 3.4.28
2023-11-23 19:05:53 +00:00
Benjamin Wang
b3d351185c Update changelog for 3.4.28
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-11-23 17:27:25 +00:00
Marek Siarkowicz
5426f6d264
Merge pull request #17007 from serathius/remove-v2-applier
Remove v2 applier
2023-11-23 16:30:23 +01:00
Marek Siarkowicz
093666f450 Cleanup v2 applier
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-23 15:41:13 +01:00
Marek Siarkowicz
b17c1de30c
Merge pull request #17006 from serathius/remove-v2-sync
Remove v2 sync
2023-11-23 15:40:18 +01:00
Marek Siarkowicz
c72ff1e69c Remove syncing the v2 store TTLs
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-23 14:55:01 +01:00
Marek Siarkowicz
f04478f41e
Merge pull request #16989 from serathius/remove-v2-apply-logic
Remove v2 apply logic
2023-11-23 14:54:31 +01:00
Marek Siarkowicz
ed3375e076 Remove v2 apply logic
v2 store is no longer available in v3.6.
We can remove apply logic for it as they will never be used.

Only v2 PUT is neeeded as it applies to v3 storage and etcd v3.5 uses it for setting member
attributes and cluster version.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-23 14:13:07 +01:00
Marek Siarkowicz
ccd711ae13
Merge pull request #17005 from borg-land/fix-missing-json-flag
fix missing json flag when using VERBOSE=1
2023-11-23 14:11:51 +01:00
upodroid
f454342bfe fix missing json flag when using VERBOSE=1
Signed-off-by: upodroid <upodroid@users.noreply.github.com>
2023-11-23 12:33:29 +00:00
Marek Siarkowicz
9d97cc203e
Merge pull request #16991 from serathius/refactor-v2-deprecation-tests
Refactor v2 deprecation tests to allow different cluster config
2023-11-22 22:18:22 +01:00
Marek Siarkowicz
28d9564962
Merge pull request #16994 from serathius/tests-v2-cluster-version
Add tests for setting cluster version using v2 request
2023-11-22 21:11:18 +01:00
Marek Siarkowicz
2f30760b37 Add tests for setting cluster version using v2 request
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-22 18:05:19 +01:00
Marek Siarkowicz
21311698aa
Merge pull request #16993 from serathius/stop-v2-requests-tests
Stop using v2 requests in server tests
2023-11-22 17:59:10 +01:00
Marek Siarkowicz
29dd025b84 Stop using v2 requests in server tests
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-22 14:41:53 +01:00
Marek Siarkowicz
cac2882df8 Refactor v2 deprecation tests to allow different cluster config
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-22 14:36:38 +01:00
Benjamin Wang
fd0882b67e
Merge pull request #16984 from siyuanfoundation/lin-read
etcdserver: add linearizable_read check to readyz.
2023-11-21 19:51:12 +00:00
Siyuan Zhang
12b640523a etcdserver: add linearizable_read check to readyz.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-11-21 11:13:20 -08:00
Benjamin Wang
16e441671a
Merge pull request #16909 from Icemap/feat-add-wasm-for-transport
client: add wasm for client transport
2023-11-21 17:19:38 +00:00
Benjamin Wang
f64689f4e2
Update copyright header in sockopt_wasm.go
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-11-21 16:27:22 +00:00
Benjamin Wang
5a99305004
Merge pull request #16983 from etcd-io/dependabot/github_actions/github/codeql-action-2.22.7
build(deps): bump github/codeql-action from 2.22.5 to 2.22.7
2023-11-21 15:37:07 +00:00
Benjamin Wang
ec6147cd04
Merge pull request #16967 from serathius/remove-v2-proposals
Remove v2 proposals code
2023-11-21 15:35:51 +00:00
Benjamin Wang
a4426b4d74
Merge pull request #16982 from etcd-io/dependabot/github_actions/actions/github-script-7.0.1
build(deps): bump actions/github-script from 6.4.1 to 7.0.1
2023-11-21 15:09:17 +00:00
Benjamin Wang
bccd56ae48
Merge pull request #16985 from jmhbnz/update-dependencies
[2023-11-21] Bump dependencies identified by dependabot
2023-11-21 15:06:57 +00:00
Benjamin Wang
7c0a09b81e
Merge pull request #16986 from jmhbnz/prevent-member-add-ssrf
Disable following redirects when checking peer urls
2023-11-21 10:07:48 +00:00
James Blair
3a9a7483b7
depdendency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.46.0 to 0.46.1.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 20:03:48 +13:00
James Blair
3b37afec7b
Don't follow redirects when checking peer urls.
It's possible that etcd server may run into SSRF situation when adding a new member. If users provide a malicious peer URL, the existing etcd members may be redirected to other unexpected internal URL when getting the new member's version.

Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 10:25:20 +13:00
James Blair
08aabfea02
depdendency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.20.0 to 1.21.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 10:06:15 +13:00
James Blair
5449f0fb99
depdendency: bump go.opentelemetry.io/otel/sdk from 1.20.0 to 1.21.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 10:04:28 +13:00
dependabot[bot]
3836324e8c
build(deps): bump github/codeql-action from 2.22.5 to 2.22.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.5 to 2.22.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](74483a38d3...66b90a5db1)

---
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>
2023-11-20 18:01:27 +00:00
dependabot[bot]
c041272d26
build(deps): bump actions/github-script from 6.4.1 to 7.0.1
Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.1 to 7.0.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](d7906e4ad0...60a0d83039)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 18:01:19 +00:00
Marek Siarkowicz
dd7a4d28a8 Remove code used to make v2 proposals
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-19 22:39:33 +01:00
Marek Siarkowicz
a9cf27b169
Merge pull request #16968 from sharathsivakumar/shsi/fix-slack-links
readme: fix slack link for sig-etcd
2023-11-19 22:09:19 +01:00
Sharath Sivakumar
958a2b8e3c
readme: fix slack link for sig-etcd
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-19 20:08:00 +01:00
Marek Siarkowicz
b4fd31f254 Remove code for setting cluster version via V2 API
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-19 15:28:52 +01:00
Marek Siarkowicz
94b9993184
Merge pull request #16965 from ivanvc/enable-github-workflow-approval-via-ok-to-test-label
github workflow: enable workflow approval
2023-11-19 10:30:46 +01:00
Ming Li
8b3efbc597 Remove nightly workflow
Signed-off-by: Ming Li <mli103hawk@gmail.com>
2023-11-18 10:36:13 -06:00
Ming Li
51eb29af36 etcd-e2d-test:rename e2e-arm64 file and runs it on every pull request #16912
KubeconNA 2023 Contribfest issue #16893 . Recently in #16801 we introduced on demand github actions runners for the arm64 platform. Having on demand runner infrastructure in place means we should now have enough capacity to begin running arm64 tests for every pull request. Currently we have:
.github/workflows/e2e-arm64-template.yaml - Shared template
.github/workflows/e2e-arm64-nightly.yaml - Runs template against both
release-3.5 and main branches nightly. Moving forward we can just rename
.github/workflows/e2e-arm64-template.yaml to
.github/workflows/e2e-arm64.yaml and delete the other file. We can then
just make the template file a standard workflow that will run on pull
request.

Signed-off-by: Ming Li <mli103hawk@gmail.com>
2023-11-18 10:36:13 -06:00
Ivan Valdes
2a463b5812
github workflow: enable workflow approval
Allow to run GitHub workflows for Pull Requests that have the ok-to-test
label.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-17 15:17:19 -08:00