Siyuan Zhang
723ef9f1e4
Allow server to join higher cluster version if NextClusterVersionCompatible is true
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-03-28 23:29:17 +00:00
Benjamin Wang
51f9d44f86
Merge pull request #17626 from etcd-io/dependabot/docker/release-3.4/distroless/static-debian11-7e5c6a2a4ae854242874d36171b31d26e0539c98fc6080f942f16b03e82851ab
...
build(deps): bump distroless/static-debian11 from `9be3fcc` to `7e5c6a2`
2024-03-21 13:16:26 +01:00
dependabot[bot]
5e773aa8b4
build(deps): bump distroless/static-debian11 from 9be3fcc
to 7e5c6a2
...
Bumps distroless/static-debian11 from `9be3fcc` to `7e5c6a2`.
---
updated-dependencies:
- dependency-name: distroless/static-debian11
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 07:28:26 +00:00
Benjamin Wang
950cd5fbe6
bump version to 3.4.31
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
v3.4.31
2024-03-20 14:50:13 +01:00
Benjamin Wang
e878a11a23
Merge pull request #17610 from chaochn47/backport-3.4-fix-watch-event-loss-after-compaction
...
[release-3.4] backport fix watch event loss after compaction #17555
2024-03-19 22:01:07 +01:00
Chao Chen
e2b29c4cf4
backport fix watch event loss after compaction #17555
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2024-03-18 17:38:56 -07:00
Benjamin Wang
f38dfe23d1
Merge pull request #17580 from vivekpatani/release-3.4
...
[3.4] dependency: bump github.com/sirupsen/logrus to v1.9.3
2024-03-12 18:11:23 +00:00
vivekpatani
150cf3af80
dependency: bump github.com/sirupsen/logrus to v1.9.3
...
Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2024-03-12 10:02:20 -07:00
Marek Siarkowicz
a3488d7943
Merge pull request #17567 from serathius/progressrequest-new-watch-3.4
...
[release-3.4] Fix progress notification for watch that doesn't get any events
2024-03-12 12:01:01 +01:00
Marek Siarkowicz
9399dd1628
Fix progress notification for watch that doesn't get any events
...
When implementing the fix for progress notifications
(https://github.com/etcd-io/etcd/pull/15237 ) we made a incorrect
assumption that that unsynched watches will always get at least one event.
Unsynched watches include not only slow watchers, but also newly created
watches that requested current or older revision. In case that non of the events
match watch filter, those newly created watches might become synched
without any event going through.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-03-11 20:20:15 +01:00
Benjamin Wang
358e3bae75
Merge pull request #17552 from ivanvc/release-3.4-add-govuln-github-workflow
...
[3.4] Add govuln GitHub workflow
2024-03-08 17:01:07 +00:00
Ivan Valdes
5c0895cc04
Add govuln GitHub workflow
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-08 08:29:23 -08:00
Benjamin Wang
49a7ab1937
Merge pull request #17554 from ivanvc/release-3.4-bump-google-protobuf-to-1.33.0
...
[3.4] dependency: bump google protobuf to 1.33.0
2024-03-08 15:57:57 +00:00
Ivan Valdes
6ef46662ad
dependency: bump google.golang.org/protobuf from v1.31.0 to v1.33.0
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-07 16:09:37 -08:00
Benjamin Wang
38db466174
Merge pull request #17541 from liangyuanpeng/update_go
...
[3.4] Update go version to 1.21.8 for build.
2024-03-06 13:53:07 +00:00
Lan Liang
5150b4d5a1
Update go version to 1.21.8 for build.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-06 13:31:26 +00:00
Benjamin Wang
7bbc9a530b
Merge pull request #17538 from liangyuanpeng/3.4_go_1.21.8
...
[3.4] Update go version to 1.21.8
2024-03-06 10:38:07 +00:00
Lan Liang
34d40a6fc1
Update go version to 1.21.8
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-06 09:34:29 +00:00
Benjamin Wang
82b8c6615f
Merge pull request #17484 from ahrtr/3.4_bump_bbolt_1.3.9
...
[3.4] Bump bbolt to v1.3.9
2024-02-26 11:16:27 +00:00
Benjamin Wang
700e5765d7
Bump bbolt to 1.3.9 for 3.4
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-02-24 15:42:59 +00:00
Benjamin Wang
ff278c49c4
Merge pull request #17465 from ivanvc/release-3.4-backport-ignore-old-leader-leases-revoking-requests
...
[3.4] backport ignore old leader leases revoking requests
2024-02-22 09:50:25 +00:00
Ivan Valdes
bf04c67408
Backport ignore old leader's leases revoking request
...
Backport of PR #16822 , commits f7e488dc9262685d6624755e0d3bb0a655863248,
67f17166bf2ba337dafb8e0ea8eea5f74a990767,
and f7ff898fd6c2d6dbb54278343073aa4fa5f46a03.
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-20 11:31:29 -08:00
Ivan Valdes
9a3450ae74
tests/e2e: backport e2e cluster setup
...
Finish backporting the remaining functions from the original backport
from PR #15620 .
Backport of commit 65add8cec44b32682e59d2596a592038bac90dcd.
Co-authored-by: Marek Siarkowicz <siarkowicz@google.com>
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-20 11:31:29 -08:00
Ivan Valdes
fd228f2c27
test/e2e: fix WaitLeader backport
...
Fixes the incorrect backport of WaitLeader, as spawnJsonCmd receives an
expected output string as an argument, which wasn't provided in the
first backport implementation.
Original backport of commit 371179e29208f690477c85fc552e7c824a66f87e from
PR #17398 .
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-20 11:29:44 -08:00
Benjamin Wang
c057f47833
Merge pull request #17330 from siyuanfoundation/3.4-downgrade
...
[3.4] allow downgrade from 3.5
2024-02-20 18:45:38 +00:00
Siyuan Zhang
2caf0f0a12
Add schema verification when closing etcd.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-02-20 08:55:55 -08:00
Siyuan Zhang
83f97c1f46
Add handling of AuthStatusRequest.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-02-20 08:55:55 -08:00
Siyuan Zhang
c65c1ea559
Add function to migrate 3.5 data online.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-02-20 08:55:55 -08:00
Bogdan Kanivets
e7da7ebf7e
add flag to allow downgrade from 3.5
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-02-20 08:55:55 -08:00
Benjamin Wang
26620387c7
Merge pull request #17432 from ivanvc/release-3.4-implement-etcd-process-go-fail-client-timeout
...
[3.4] backport EtcdProcess GoFailClientTimeout
2024-02-16 08:46:00 +00:00
Benjamin Wang
c5cb7aab0f
Merge pull request #17436 from jmhbnz/backport-logging-database-metrics-during-compaction
...
[3.4] mvcc: Printing etcd backend database related metrics inside scheduleCompaction function
2024-02-16 08:44:45 +00:00
James Blair
e5bc8b00ae
mvcc: Printing etcd backend database related metrics inside scheduleCompaction function
...
Backporting commit 21bbc82 to etcd 3.4
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: James Blair <mail@jamesblair.net>
2024-02-16 21:08:20 +13:00
Ivan Valdes
ec4128af69
tests/e2e: implement EtcdProcess GoFailClientTimeout
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-15 10:50:26 -08:00
Benjamin Wang
6affeed9fd
Merge pull request #17422 from ArkaSaha30/configure_cgo_3.4
...
[3.4] Make CGO_ENABLED configurable
2024-02-14 10:19:40 +00:00
Arka Saha
387ca62ccf
Make CGO_ENABLED configurable for etcd 3.4
...
Signed-off-by: Arka Saha <arkas1@vmware.com>
2024-02-13 22:34:33 +05:30
Benjamin Wang
380175a9d4
Merge pull request #17398 from ivanvc/3.4-backport-e2e-waitleader
...
[3.4] tests/e2e: backport WaitLeader
2024-02-09 10:33:55 +00:00
Ivan Valdes
9c067a3c36
tests/e2e: backport WaitLeader
...
Add Etcdctl function to etcdProcess interface, and implement it in
etcdServerProcess, which is used by WaitMembersForLeader.
Define Etcdctl's Status function, that is used by WaitMembersForLeader
too.
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-02-08 16:34:33 -08:00
Benjamin Wang
1a6eaca539
Merge pull request #17383 from fuweid/backport-17365-to-34
...
[3.4] etcdserver: drain leaky goroutines before test completed
2024-02-06 15:54:31 +00:00
Wei Fu
51c99dd3fd
etcdserver: drain leaky goroutines before test completed
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-02-06 12:58:35 +08:00
Benjamin Wang
573ff18208
Merge pull request #17369 from dusk125/3.4-backport-retry-config
...
[3.4] add backoff to client config
2024-02-05 17:08:17 +00:00
Benjamin Wang
6301cf3a42
Merge pull request #17368 from dusk125/3.4-to-go1.21
...
[3.4] Update to go1.21
2024-02-05 16:18:00 +00:00
Allen Ray
8e62f4af61
[3.4] backport: add backoff to client config
...
Signed-off-by: Allen Ray <alray@redhat.com>
2024-02-05 10:29:34 -05:00
Allen Ray
9591c294b7
[3.4] Update to go1.21
...
Signed-off-by: Allen Ray <alray@redhat.com>
2024-02-05 10:21:19 -05:00
Benjamin Wang
ff2304879e
Bump version to 3.4.30
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
v3.4.30
2024-01-31 13:09:19 +00:00
Marek Siarkowicz
8bd1facbe2
Merge pull request #17347 from serathius/crypto-3.4
...
[release-3.4] Bump golang.org/x/crypto to v0.17+ to address CVE-2023-48795
2024-01-31 11:20:58 +01:00
Marek Siarkowicz
b6b36c94ab
Bump golang.org/x/crypto to v0.17+ to address CVE-2023-48795
...
This is the minimal set of package updates I get after:
taking packages from release-3.5 with golang.org/x/crypto@v0.17.0
slowly downgrading package by package to get minimal changes
running make to make sure other dependencies don't change
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-01-31 10:51:24 +01:00
Benjamin Wang
d14f794a33
Merge pull request #17321 from ahrtr/3.4_TestHashKVWhenCompacting_20240125
...
[3.4] test: fix `TestHashKVWhenCompacting`: ensure all goroutine finished
2024-01-26 10:37:32 +00:00
Benjamin Wang
6b774527c3
test: fix TestHashKVWhenCompacting: ensure all goroutine finished
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-25 13:33:22 +00:00
Benjamin Wang
1d67e9efea
Merge pull request #17316 from ahrtr/3.4_configure_peer_log_20240124
...
[3.4] Print error log when creating peer listener failed
2024-01-25 10:05:52 +00:00
Benjamin Wang
5c3a36d813
print error log when creating peer listener failed
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-01-24 13:56:02 +00:00