Neil Shen
fb769c4306
server: ignore raft messages if member id mismatch
...
Ignore Raft messages when the `To` field mismatches the local member ID.
In cases where incorrect Raft messages are dispatched, potentially due
to a malfunctioning switch, this proactive check prevents panics,
such as "tocommit is out of range".
Signed-off-by: Neil Shen <overvenus@gmail.com>
2023-12-07 11:57:45 +08:00
Benjamin Wang
7851295966
Merge pull request #17073 from jonasrdl/update-to-go-1.21.5
...
Update go version to 1.21.5
2023-12-06 19:12:23 +00:00
Benjamin Wang
b0b15e5ac7
Merge pull request #17072 from sharathsivakumar/shsi/bump_deps_9
...
Bump dependencies manually
2023-12-06 18:56:40 +00:00
Jonas Riedel
5cd288771c
etcd: Update go version to 1.21.5
...
Signed-off-by: Jonas Riedel <jonasriedel@pm.me>
Signed-off-by: Jonas Riedel <jonasriedel@pm.me>
Signed-off-by: Jonas Riedel <jonasriedel@pm.me>
2023-12-06 19:25:33 +01:00
Sharath Sivakumar
be31dd00a5
dependency: bump github.com/prometheus/client_golang from 1.13.0 to 1.17.0
...
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-12-06 13:54:12 +01:00
Sharath Sivakumar
c14a582969
dependency: github.com/mikefarah/yq/v4 from 4.35.2 to 4.40.4
...
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-12-06 13:48:42 +01:00
Sharath Sivakumar
235ec793fd
dependency: bump golang.org/x/net from 0.18.0 to 0.19.0
...
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-12-06 13:44:54 +01:00
Benjamin Wang
4ece5561d4
Merge pull request #17058 from ahrtr/rollback_lease_lock_20231204
...
Rollback the pull/14080: which fixed the potential deadlock
2023-12-05 11:44:40 +00:00
Benjamin Wang
9a6eeb5f7e
Rollback the pull/14080: which fixed the potential deadlock
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-12-05 10:51:38 +00:00
Benjamin Wang
d8f077151d
Merge pull request #17066 from ivanvc/disable-forwarding-redirects-for-peer-http-connection
...
server: disable redirects in peer communication
2023-12-05 09:58:41 +00:00
Ivan Valdes
8578e07117
server: disable redirects in peer communication
...
Disable following redirects from peer HTTP communication on the client's side.
Etcd server may run into SSRF (Server-side request forgery) when adding a new
member. If users provide a malicious peer URL, the existing etcd members may be
redirected to another unexpected internal URL when getting the new member's
version.
Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-12-04 13:53:28 -08:00
Benjamin Wang
b89a45126d
Merge pull request #17046 from moficodes/patch-02
...
add workflow telemetry to collect action metrics
2023-12-04 10:28:00 +00:00
Marek Siarkowicz
93ab2ef7b2
Merge pull request #17056 from serathius/revert-switch-v3
...
Revert "Switch to validating v3 when v2 and v3 are synchronized"
2023-12-03 21:38:27 +01:00
Marek Siarkowicz
21704b85c2
Merge pull request #17055 from serathius/abort-failpoint-failed
...
Abort if failpoint injecton failed
2023-12-03 18:12:44 +01:00
Marek Siarkowicz
bc697bc26e
Revert "Switch to validating v3 when v2 and v3 are synchronized"
...
This reverts commit 4fe46f92030e4381e6f9bf95adbb22a08282d297.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-12-03 18:12:09 +01:00
Marek Siarkowicz
5175652a8e
Abort if failpoint injecton failed
...
If one of nodes is unhealthy the test would never finish as watchers
would never reach max revision.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-12-03 17:26:51 +01:00
Benjamin Wang
9d18fb0c6c
Merge pull request #17050 from ahrtr/gofail_client_timeout_20231201
...
Support setting http client timeout when enable/disable failpoint
2023-12-02 08:33:51 +00:00
Benjamin Wang
f37a4365ee
Support setting http client timeout when enable/disable failpoint
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-12-01 14:26:15 +00:00
Benjamin Wang
db4e95cb1f
Merge pull request #17044 from vivekpatani/dependabot-fix
...
*: dependabot dependency fix
2023-11-30 20:24:31 +00:00
Mofi Rahman
fe43753d45
add workflow telemetry to collect action metrics
...
part of #17045
Signed-off-by: Mofi Rahman <mofi@google.com>
2023-11-30 19:42:22 +00:00
vivekpatani
d616195189
etcdctl,etcdutl,server,tests: bump golang.org/x/time to v0.5.0
...
- https://github.com/etcd-io/etcd/pull/17031
Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2023-11-30 10:14:56 -08:00
vivekpatani
b205f1403b
etcdutl,server,tests,tools: bump golang.org/x/crypto to v0.16.0
...
- https://github.com/etcd-io/etcd/pull/17030
Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2023-11-30 10:14:27 -08:00
vivekpatani
2afd2ddee5
*: bump golang.org/x/sys to 0.15.0
...
- https://github.com/etcd-io/etcd/pull/17029
Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2023-11-30 10:13:29 -08:00
Benjamin Wang
f0708d350e
Merge pull request #17028 from etcd-io/dependabot/github_actions/github/codeql-action-2.22.8
...
build(deps): bump github/codeql-action from 2.22.7 to 2.22.8
2023-11-30 09:30:32 +00:00
Marek Siarkowicz
76e7a84c02
Merge pull request #17040 from thomasmey/patch-1
...
Fix message in case of unsupported platform
2023-11-30 09:14:06 +01:00
Thomas Meyer
b5b0b8dbd4
Fix message in case of unsupported platform
...
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
2023-11-28 13:36:33 +01:00
Marek Siarkowicz
bf347243db
Merge pull request #17027 from sharathsivakumar/main
...
changelog: Update changelog for 3.5.11 to include url redirect fix
2023-11-28 09:36:38 +01:00
Jin Dong
4c853774e6
Rename the test and update comments
...
Signed-off-by: Jin Dong <greenmoon55@gmail.com>
2023-11-28 02:32:50 +00:00
Jin Dong
f2d718e641
Merge branch 'etcd-io:main' into greenmoon55-patch-1
2023-11-27 21:14:59 -05:00
Sharath Sivakumar
443af2497d
changelog: Update changelog for 3.5.11 to include url redirect fix
...
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-27 20:00:46 +01:00
Marek Siarkowicz
03d551243b
Merge pull request #17015 from serathius/extract-membership-applier
...
Extract membership applier
2023-11-27 19:59:21 +01:00
dependabot[bot]
b687d76abd
build(deps): bump github/codeql-action from 2.22.7 to 2.22.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.7 to 2.22.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](66b90a5db1...407ffafae6
)
---
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-27 17:12:50 +00:00
Marek Siarkowicz
62b772c321
Merge pull request #17021 from serathius/test-applyconfstate
...
Test ApplyConfState after restart
2023-11-27 13:19:50 +01:00
Marek Siarkowicz
e0b18a5ade
Merge pull request #17026 from serathius/test-v3-storage-configuration-validation
...
Test v3 storage configuration validation
2023-11-27 12:58:40 +01:00
Marek Siarkowicz
fbdf65f101
Test v3 storage configuration validation
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-27 12:00:47 +01:00
Benjamin Wang
e1d79097d5
Merge pull request #17017 from serathius/switch-validation-v3
...
Switch to validating v3 when v2 and v3 are synchronized
2023-11-27 10:50:14 +00:00
Marek Siarkowicz
054b67780b
Merge pull request #17023 from jmhbnz/changelog-tracing-update
...
CHANGELOG: Add 3.5.11 note for --experimental-distributed-tracing-sampling-rate
2023-11-27 09:36:29 +01:00
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
e192a05193
Test ApplyConfState after restart
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-26 17:40:28 +01: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
4fe46f9203
Switch to validating v3 when v2 and v3 are synchronized
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-24 17:46:33 +01:00
Marek Siarkowicz
2ad21558ac
Remove shouldApplyV3 from the v3 applier
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-24 16:13:25 +01:00
Marek Siarkowicz
d22c00ccee
Extract membership applier
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-24 15:57:15 +01: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