Commit Graph

17634 Commits

Author SHA1 Message Date
Marek Siarkowicz
4ffa5c5dc4 Merge pull request #17619 from liangyuanpeng/approve_ghaction_3.5
[3.5] Add approvals gh workflows.
2024-04-07 09:41:14 +02:00
Lan Liang
b6df59cba4 Add approvals gh workflows.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-06 14:40:05 +00:00
Benjamin Wang
7f18f3078b Merge pull request #17716 from ArkaSaha30/trivy-scan-head-3.5
[3.5]Add trivy scan for current branch HEAD
2024-04-06 13:32:12 +01:00
Benjamin Wang
86d9874d70 Merge pull request #17704 from fuweid/35-cp-17462
[3.5] *: LeaseTimeToLive returns error if leader changed
2024-04-05 08:58:04 +01:00
ArkaSaha30
1404f5aabd [3.5]Add trivy scan as a job in release workflow
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-04-05 01:08:21 +05:30
Wei Fu
94a1d0c1b5 *: LeaseTimeToLive returns error if leader changed
The old leader demotes lessor and all the leases' expire time will be
updated. Instead of returning incorrect remaining TTL, we should return
errors to force client retry.

Cherry-pick: d3bb6f688b

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-04 22:33:05 +08:00
Wei Fu
b78b21405d .github: enable failpoints for integration tests
And introduce helper to toggle failpoints by makefile.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-04 22:33:05 +08:00
Benjamin Wang
01851daabe Merge pull request #17708 from henrybear327/cve/3.5-bump-go-1.21.9
Bump go-version to 1.21.9 for release-3.5 due to CVE-2023-45288
2024-04-04 15:02:27 +01:00
Chun-Hung Tseng
600b6bfefa Bump golang.org/x/net to v0.23.0
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 10:55:45 +02:00
Chun-Hung Tseng
5776e2131f Bump go-version to 1.21.9 for release-3.5 due to CVE-2023-45288
Reference:
- PR #17703

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-04 10:55:45 +02:00
Benjamin Wang
f5092bca27 Merge pull request #17641 from sheyt0/v3.5.13
[3.5] backport for fix retry requests when receiving ErrGPRCNotSupportedForLearner
2024-04-04 08:31:53 +01:00
Benjamin Wang
130cfe9f48 Merge pull request #17699 from henrybear327/backport-3.5/add-initialization-for–epMu-in-contetx-client
Backport initialization of mu in NewCtxClient to release-3.5
2024-04-04 08:31:24 +01:00
Chun-Hung Tseng
61a85b7a82 Backport initialization of mu in NewCtxClient to release-3.5
Tested against the demo code provided in PR #17001

References:
- #17001
- #17018

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-03 08:49:28 +02:00
James Blair
cbd0aed094 Merge pull request #17689 from etcd-io/dependabot/docker/release-3.5/distroless/static-debian11-046b92c933032a8ca99a66f4c79a68ac029d9a4ababd1a806a82140b3b899fd3
build(deps): bump distroless/static-debian11 from `7e5c6a2` to `046b92c`
2024-04-01 21:21:26 +02:00
dependabot[bot]
d1eb35d550 build(deps): bump distroless/static-debian11 from 7e5c6a2 to 046b92c
Bumps distroless/static-debian11 from `7e5c6a2` to `046b92c`.

---
updated-dependencies:
- dependency-name: distroless/static-debian11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 17:41:43 +00:00
Piotr Tabor
0c2f208354 Fix retry requests when receiving ErrGPRCNotSupportedForLearner
Signed-off-by: Ilya Baev <ilya.baev@gcore.com>
2024-04-01 09:07:24 +00:00
James Blair
c9063a0dcd version: bump up to 3.5.13 v3.5.13 tests/v3.5.13 etcdctl/v3.5.13 etcdutl/v3.5.13 server/v3.5.13 client/v3.5.13 client/v2.305.13 client/pkg/v3.5.13 raft/v3.5.13 pkg/v3.5.13 api/v3.5.13 2024-03-30 07:27:31 +13:00
Benjamin Wang
38f3eb39a6 Merge pull request #17625 from etcd-io/dependabot/docker/release-3.5/distroless/static-debian11-7e5c6a2a4ae854242874d36171b31d26e0539c98fc6080f942f16b03e82851ab
build(deps): bump distroless/static-debian11 from `9be3fcc` to `7e5c6a2`
2024-03-21 13:16:51 +01:00
dependabot[bot]
59e3f7df48 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:20 +00:00
Benjamin Wang
2ee038d67f Merge pull request #17612 from chaochn47/release-3.5-backport-fix-watch-event-loss-after-compact
[release-3.5] backport fix watch event loss after compaction
2024-03-19 22:00:47 +01:00
Chao Chen
46d2caae1e [release-3.5] backport fix watch event loss after compaction
Signed-off-by: Chao Chen <chaochn@amazon.com>
2024-03-18 18:41:17 -07:00
Marek Siarkowicz
8383107a6b Merge pull request #17566 from serathius/progressrequest-new-watch-3.5
[release-3.5] Fix progress notification for watch that doesn't get any events
2024-03-12 12:00:57 +01:00
Marek Siarkowicz
579b22cf3a 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:18:26 +01:00
Benjamin Wang
d0a02813d4 Merge pull request #17550 from ivanvc/release-3.5-add-govuln-github-workflow
[3.5] Add govuln GitHub workflow
2024-03-08 17:00:56 +00:00
Ivan Valdes
67afad6e21 Add govuln GitHub workflow
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-08 08:30:03 -08:00
Benjamin Wang
65c10bc82d Merge pull request #17553 from ivanvc/release-3.5-bump-google-protobuf-to-1.33.0
[3.5] dependency: bump google protobuf to 1.33.0
2024-03-08 15:57:30 +00:00
Ivan Valdes
e6d95c8457 dependency: bump google.golang.org/protobuf to v1.33.0
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-03-07 16:03:12 -08:00
Benjamin Wang
72a7e2840a Merge pull request #17537 from liangyuanpeng/3.5_go_1.21.8
[3.5] Update go version to 1.21.8
2024-03-06 10:37:29 +00:00
Lan Liang
722e5cbbb9 Update go version to 1.21.8
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-03-06 09:33:17 +00:00
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 75747f24bc)
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 d93b7c8cb1)
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 f7e488dc92,
67f17166bf,
and f7ff898fd6

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 65add8cec4

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