17605 Commits

Author SHA1 Message Date
Benjamin Wang
2b4ad263c5
Merge pull request #17483 from ahrtr/3.5_bump_bbolt_1.3.9
[3.5] Bump bbolt to v1.3.9
2024-02-26 11:16:18 +00:00
Benjamin Wang
d76d8479ee Bump bbolt to 1.3.9 for 3.5
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-24 15:38:49 +00:00
Benjamin Wang
f9b7cce9c4
Merge pull request #17482 from vivekpatani/fix-logrus
[3.5] dependency: bump github.com/sirupsen/logrus to v1.9.3
2024-02-24 07:17:13 +00:00
vivekpatani
f1d1029cc2 dependency: bump github.com/sirupsen/logrus to v1.9.3
Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2024-02-23 16:24:13 -08:00
Benjamin Wang
5cc72391b0
Merge pull request #15940 from HubertZhang/backport-12469-3.5
[release-3.5]pkg/types: Support Unix sockets in NewURLS
2024-02-20 09:45:10 +00:00
Benjamin Wang
9b9c04907e
Merge pull request #17447 from halleyshx/add-keepalive-clientParams-to-grpcproxy-rel3.5
[3.5] Added client keepalive arguments to the grpc-proxy
2024-02-20 09:44:28 +00:00
Chao Chen
a1aaa51cf1 add uds test cases into e2e TestAuthority
Signed-off-by: Chao Chen <chaochn@amazon.com>
2024-02-19 13:26:15 +00:00
Karen Almog
80e2064b40 Add unix socket test to TestNewURLsValue
(cherry picked from commit 75747f24bcdebefff22e27853f2ac0b71ec91ea0)
Signed-off-by: Hubert Zhang <hubert.zyk@gmail.com>
2024-02-19 12:21:31 +00:00
Karen Almog
1a9062ec98 pkg/types: Support Unix sockets in NewURLS
Resolves #12450
This commits adds support to unix/unixs socket URLs, which currently
fail with the message "URL address does not have the form "host:port".
It also replaces the work started in #11747.

(cherry picked from commit d93b7c8cb185af5a8af8408fbfcc55a21e3d9e5a)
Signed-off-by: Hubert Zhang <hubert.zyk@gmail.com>
2024-02-19 12:21:16 +00:00
Benjamin Wang
9ffba74e66
Merge pull request #17425 from ivanvc/release-3.5-backport-ignore-old-leaders-leases-revoking-request
[3.5] backport ignore old leaders leases revoking requests
2024-02-18 14:40:20 +00:00
Benjamin Wang
c213177394
Merge pull request #17435 from vivekpatani/fix-fmt-job
*: add test-smoke to the pipeline and update test-smoke
2024-02-18 14:39:37 +00:00
shihuixing
31f097ee9e added dial-keepalive-time、dial-keepalive-timeout、permit-without-stream arguments to the grpc-proxy
Signed-off-by: shihuixing <shihuixing@jd.com>
2024-02-18 20:44:25 +08:00
Ivan Valdes
4a90575ab2
Backport ignore old leader's leases revoking request
Backported PR #16822, commits f7e488dc9262685d6624755e0d3bb0a655863248,
67f17166bf2ba337dafb8e0ea8eea5f74a990767,
and f7ff898fd6c2d6dbb54278343073aa4fa5f46a03

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-17 22:16:53 -08:00
Ivan Valdes
c486b58947
tests/e2e: backport e2e cluster setup
Finish backporting the remaining functions from the original backport
from PR #17075.

Backported commit 65add8cec44b32682e59d2596a592038bac90dcd

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-17 22:16:29 -08:00
vivekpatani
9635525bb2 *: add test-smoke to the pipeline and update test-smoke
- add test-smoke to the tests.yaml pipeline
- add bom and dep to the test-smoke definition
- https://github.com/etcd-io/etcd/issues/17400
- https://github.com/etcd-io/etcd/issues/17401
- wait for https://github.com/etcd-io/etcd/pull/17433 to merge
- wait for https://github.com/etcd-io/etcd/pull/17434 to merge

Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2024-02-17 03:02:19 -08:00
Benjamin Wang
16963f117c
Merge pull request #17439 from vivekpatani/fix-tools-mod
[3.5] tools/mod: go mod tidy
2024-02-17 09:15:26 +00:00
vivekpatani
7ebbc0f662 tools/mod: go mod tidy
- perform tidy operation
- https://github.com/etcd-io/etcd/issues/17400
- https://github.com/etcd-io/etcd/issues/17401

Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2024-02-16 13:52:09 -08:00
Benjamin Wang
ae64528767
Merge pull request #17434 from vivekpatani/fix-shellcheck
*: fix failing shellchecks
2024-02-16 08:44:05 +00:00
Benjamin Wang
c6e948893d
Merge pull request #17433 from vivekpatani/fix-goword
server: fix comment to match function name
2024-02-16 08:30:49 +00:00
vivekpatani
f4633c845f *: fix failing shellchecks
- shellcheck violations fixed
- https://github.com/etcd-io/etcd/issues/17400

Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2024-02-15 19:55:22 -08:00
vivekpatani
b9b4f1bd1b server: fix comment to match function name
- goword checks fail if function name mismatches with comment
- https://github.com/etcd-io/etcd/issues/17400

Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2024-02-15 19:46:22 -08:00
Benjamin Wang
b795a8f662
Merge pull request #17427 from ivanvc/release-3.5-implement-etcd-process-go-fail-client-timeout
[3.5] Implement etcd process go fail client timeout
2024-02-15 09:26:45 +00:00
Benjamin Wang
3b99fee1ee
Merge pull request #17421 from ArkaSaha30/configure_cgo_3.5
[3.5] Make CGO_ENABLED configurable
2024-02-14 10:44:55 +00:00
Ivan Valdes
1115eb1590
tests/e2e: implement EtcdProcess GoFailClientTimeout
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-13 15:21:07 -08:00
Arka Saha
e179686fa1
Make CGO_ENABLED configurable for etcd 3.5
Signed-off-by: Arka Saha <arkas1@vmware.com>
2024-02-13 16:01:10 +05:30
Benjamin Wang
ae7d49333a
Merge pull request #17396 from ivanvc/3.5-use-wait-leader-in-corrupt-test
[3.5] tests/e2e: use WaitLeader in corrupt test
2024-02-09 10:34:56 +00:00
Marek Siarkowicz
b2aa3a13e8
Merge pull request #17381 from ivanvc/3.5-backport-wait-leader
[3.5] backport e2e WaitLeader
2024-02-08 15:44:54 +01:00
Ivan Valdes
07c4dcb90c
tests/e2e: use WaitLeader in corrupt test
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-07 17:00:09 -08:00
Benjamin Wang
c2b458c56b
Merge pull request #17387 from Elbehery/backport_35_SetKeepAlivePeriod_OpenBSD
[3.5] Backport ignore SetKeepAlivePeriod errors on OpenBSD
2024-02-07 15:53:48 +00:00
Ivan Valdes
8b2493256d
tests/e2e: implement EtcdProcessCluster WaitLeader
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-06 14:29:51 -08:00
Ivan Valdes
c37d33c571
tests/e2e: implement EtcdProcess Etcdctl
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-06 14:29:40 -08:00
Ruize Tang
62a4bb3be9 etcd: Add OpenBSD-specific files for SetKeepAlivePeriod handling
Added keepalive_listener_unix.go and keepalive_listener_openbsd.go to
handle SetKeepAlivePeriod() specially on OpenBSD.

Signed-off-by: Ruize Tang <1466040111@qq.com>
2024-02-06 19:39:09 +01:00
Benjamin Wang
76e7fe7057
Merge pull request #17382 from fuweid/backport-17365-to-35
[3.5] etcdserver: drain leaky goroutines before test completed
2024-02-06 15:54:08 +00:00
Wei Fu
a965801b6e etcdserver: drain leaky goroutines before test completed
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-02-06 12:11:33 +08:00
Ivan Valdes
26bae5efbd
tests/e2e: move etcdctl to framework/e2e
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-05 15:13:42 -08:00
Benjamin Wang
588023cc46
Merge pull request #17362 from dusk125/3.5-to-go1.21
[3.5] Update to go 1.21
2024-02-05 12:55:29 +00:00
Benjamin Wang
3c8e389d82
Merge pull request #17363 from dusk125/3.5-backport-retry-config
[3.5] backport backoff/retry config
2024-02-05 12:53:55 +00:00
Allen Ray
a13f676ec6 [3.5] backport: add backoff to client config
Signed-off-by: Allen Ray <alray@redhat.com>
2024-02-02 14:40:15 -05:00
Allen Ray
3d64877dc2 [3.5] Update to go1.21
Signed-off-by: Allen Ray <alray@redhat.com>
2024-02-02 14:25:53 -05:00
Marek Siarkowicz
e7b3bb6cca version: bump up to 3.5.12 v3.5.12 tests/v3.5.12 etcdctl/v3.5.12 etcdutl/v3.5.12 server/v3.5.12 client/v3.5.12 client/v2.305.12 client/pkg/v3.5.12 raft/v3.5.12 pkg/v3.5.12 api/v3.5.12 2024-01-31 11:32:22 +01:00
Marek Siarkowicz
378a19609b
Merge pull request #17346 from serathius/crypto-3.5
[release-3.5] Bump golang.org/x/crypto to v0.17+ to address CVE-2023-48795
2024-01-31 11:21:03 +01:00
Marek Siarkowicz
8599d48f80 Bump golang.org/x/crypto to v0.17+ to address CVE-2023-48795
This is the minimal set of package updates I get after running:

./scripts/update_dep.sh golang.org/x/crypto v0.17.0
make

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-01-30 12:02:49 +01:00
Benjamin Wang
141232e773
Merge pull request #17320 from ahrtr/3.5_TestHashKVWhenCompacting_20240125
[3.5 test: fix `TestHashKVWhenCompacting`: ensure all goroutine finished
2024-01-25 18:53:29 +00:00
Benjamin Wang
0f494e02fa test: fix TestHashKVWhenCompacting: ensure all goroutine finished
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-25 13:32:03 +00:00
Benjamin Wang
a0ff8e41f8
Merge pull request #17315 from ahrtr/3.5_configure_peer_log_20240124
[3.5] Print error log when creating peer listener failed
2024-01-25 10:05:46 +00:00
Benjamin Wang
926d0227bd print error log when creating peer listener failed
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-24 13:50:38 +00:00
Benjamin Wang
c7bcb5fa40
Merge pull request #17291 from rahulbapumore/backport-feature
[3.5] mvcc: Printing etcd backend database related metrics inside scheduleCompaction function
2024-01-23 10:05:07 +00:00
Rahul More
2c3b614090 mvcc: Printing etcd backend database related metrics inside scheduleCompaction function
Backporting commit 21bbc82 in etcd 3.5
To improve traceability of backend database usage, Added below parameter
related to backend database usage metrics inside scheduledCompaction
function.
current-db-size-bytes
current-db-size
current-db-size-in-use-bytes
current-db-size-in-use

Signed-off-by: Rahul More <rahulbapumore@gmail.com>
2024-01-22 19:10:20 +05:30
Benjamin Wang
0ed58e9766
Merge pull request #17275 from ivanvc/3.5-update-golang-to-1.20.13
[3.5] dependency: upgrade go to 1.20.13
2024-01-19 18:34:59 +00:00
Ivan Valdes
02d5599891
dependency: update go version to 1.20.13
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-01-18 14:38:08 -08:00