Chun-Hung Tseng
345bdd46c7
Merge 5fb0352b97e5c62edcd4b4ae3ba78b7efbaa6fea into c86c93ca2951338115159dcdd20711603044e1f1
2024-09-26 20:40:56 +00:00
Chun-Hung Tseng
5fb0352b97
Remove PauseTx and PauseRx of the reverse proxy from the e2e test
...
Part of the patches to fix https://github.com/etcd-io/etcd/issues/17737
During the development of https://github.com/etcd-io/etcd/pull/17938 ,
we agreed that during the transition to L7 forward proxy, unused
features and features targeting L4 reverse proxy will be dropped.
This feature falls under the unused feature.
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 22:40:51 +02:00
Chun-Hung Tseng
fd967e08d0
Remove LatencyAccept of the reverse proxy from the e2e test
...
Part of the patches to fix https://github.com/etcd-io/etcd/issues/17737
During the development of https://github.com/etcd-io/etcd/pull/17938 ,
we agreed that during the transition to L7 forward proxy, unused
features and features targeting L4 reverse proxy will be dropped.
This feature falls under the unused feature. Also, the initial
implementation has a bug: if connections are not created continuously,
the latency accept will not work. Consider the following case:
a) set latency accept
b) put latency accept into effect
c) latency accept will start idling the goroutine
d) block-wait at accept() - waiting for new connections
e) new connection comes in - establish it
f) go to c -> as we can see, if the request come every x seconds, where
x is larger than the latency accept time we set, we can see that the
latency accept has no effect.
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 22:40:51 +02:00
Chun-Hung Tseng
925181a17f
Remove DelayAccept of the reverse proxy from the e2e test
...
Part of the patches to fix https://github.com/etcd-io/etcd/issues/17737
During the development of https://github.com/etcd-io/etcd/pull/17938 ,
we agreed that during the transition to L7 forward proxy, unused
features and features targeting L4 reverse proxy will be dropped.
This feature falls under the unused feature.
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 22:40:51 +02:00
Chun-Hung Tseng
462d24af9c
Remove PauseAccept of the reverse proxy from the e2e test
...
Part of the patches to fix https://github.com/etcd-io/etcd/issues/17737
During the development of https://github.com/etcd-io/etcd/pull/17938 ,
we agreed that during the transition to L7 forward proxy, unused
features and features targeting L4 reverse proxy will be dropped.
This feature falls under the unused feature.
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 22:40:51 +02:00
James Blair
c86c93ca29
Merge pull request #18636 from henrybear327/dependencies/09_25_24
...
[2024-09-25] Bump dependency updates identified by dependabot
2024-09-26 09:35:11 +10:00
Chun-Hung Tseng
79f31c7a5d
dependency: bump go.opentelemetry.io/otel from 1.29.0 to 1.30.0
...
In summary, the bump is performed for the following dependencies:
- go.opentelemetry.io/otel/exporters/otlp/otlptrace from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/metric from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/sdk from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/trace from v1.29.0 to v1.30.0
This commit also addressed the following issues
FAIL: inconsistent versions for dependency: google.golang.org/genproto/googleapis/api
- google.golang.org/genproto/googleapis/api@v0.0.0-20240822170219-fc7c04adadcd (indirect) from: go.etcd.io/etcd/client/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240822170219-fc7c04adadcd (indirect) from: go.etcd.io/etcd/etcdctl/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240822170219-fc7c04adadcd from: go.etcd.io/etcd/api/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/etcdutl/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tests/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 from: go.etcd.io/etcd/server/v3
- google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
FAIL: inconsistent versions for dependency: google.golang.org/genproto/googleapis/rpc
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/api/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/client/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/etcdctl/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/pkg/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/tools/testgrid-analysis/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/etcdutl/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/server/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tests/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/v3
- google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
FAIL: inconsistent dependencies
Reference:
- https://github.com/etcd-io/etcd/pull/18629
- https://github.com/etcd-io/etcd/pull/18630
- https://github.com/etcd-io/etcd/pull/18626
- https://github.com/etcd-io/etcd/pull/18627
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 00:40:27 +02:00
Chun-Hung Tseng
4d4008164e
dependency: bump google.golang.org/grpc from 1.66.0 to 1.67.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18628
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-25 22:43:51 +02:00
Chun-Hung Tseng
d77c9ac5c2
dependency: bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4
...
Reference:
- https://github.com/etcd-io/etcd/pull/18631
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-25 22:43:51 +02:00
James Blair
1a08fb2809
Merge pull request #18614 from redwrasse/redwrasse/client/rest-of-errors-is
...
client: remaining errors.Is conversions
2024-09-26 04:09:31 +10:00
Benjamin Wang
5704c6148d
Merge pull request #18605 from lucasrod16/use-single-function-to-create-WAL-files
...
Add function to create WAL files
2024-09-24 19:44:39 +01:00
Lucas Rodriguez
680eadf0d6
Add function to create WAL files
...
Signed-off-by: Lucas Rodriguez <lucas.rodriguez9616@gmail.com>
2024-09-24 12:55:24 -05:00
Benjamin Wang
59cfd7a61d
Merge pull request #18612 from Kamandlou/km-dev
...
update: `cobra.ExactValidArgs` method is deprecated
2024-09-24 10:05:29 +01:00
Benjamin Wang
acb1b176ac
Merge pull request #18633 from ivanvc/remove-build-github-workflows
...
github: remove build job
2024-09-24 10:04:42 +01:00
Benjamin Wang
6619b9f84c
Merge pull request #18580 from myrat92/fix-issue-184113
...
docs: fix description of WatchResponse.canceled
2024-09-24 09:51:53 +01:00
Benjamin Wang
c79c7d5440
Merge pull request #18625 from redwrasse/redwrasse/ep-command-errors-is
...
command: Use errors.Is for error equality check in ep_command.go
2024-09-24 09:32:12 +01:00
James Blair
7e04b33349
Merge pull request #18624 from etcd-io/dependabot/github_actions/github/codeql-action-3.26.8
...
build(deps): bump github/codeql-action from 3.26.7 to 3.26.8
2024-09-24 17:11:37 +10:00
dependabot[bot]
204ef59f81
build(deps): bump github/codeql-action from 3.26.7 to 3.26.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.7 to 3.26.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](8214744c54...294a9d9291
)
---
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>
2024-09-24 02:36:34 +00:00
James Blair
fd83aba9b9
Merge pull request #18623 from etcd-io/dependabot/docker/distroless/static-debian12-b033683de7de51d8cce5aa4b47c1b9906786f6256017ca8b17b2551947fcf6d8
...
build(deps): bump distroless/static-debian12 from `95eb83a` to `b033683`
2024-09-24 12:35:32 +10:00
dependabot[bot]
3ec8d3fd0b
build(deps): bump distroless/static-debian12 from 95eb83a
to b033683
...
Bumps distroless/static-debian12 from `95eb83a` to `b033683`.
---
updated-dependencies:
- dependency-name: distroless/static-debian12
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 23:41:27 +00:00
Ivan Valdes
3347d985ec
github: remove build job
...
This job was migrated to the prow infrastructure in May
(https://github.com/kubernetes/test-infra/pull/32672 ). Deleting the
GitHub workflow to remove duplicate jobs should be fine.
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-09-23 14:50:01 -07:00
redwrasse
6767e1ff64
command: Use errors.Is for error equality check in ep_command.go
...
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-23 10:12:40 -07:00
Kamandlou
063627e42f
update: cobra.ExactValidArgs
method is deprecated
...
Signed-off-by: Kamandlou <ahkamandlou@gmail.com>
2024-09-23 17:22:05 +03:30
James Blair
bd93a0060a
Merge pull request #18610 from henrybear327/dependencies/09_18_24
...
[2024-09-19] Bump dependency updates identified by dependabot
2024-09-23 15:09:33 +10:00
redwrasse
ecc2c5e471
client modules: remaining errors.Is conversions for error equality and inequality checks.
...
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-22 17:43:01 -07:00
Benjamin Wang
112e6a32ef
Merge pull request #18615 from redwrasse/redwrasse/etcdctl/rest-of-errors-is
...
etcdctl: remaining errors.Is conversions
2024-09-22 19:37:53 +01:00
Benjamin Wang
75ed4ef83b
Merge pull request #18616 from redwrasse/redwrasse/contrib/rest-of-errors-is
...
contrib: remaining errors.Is conversions
2024-09-22 19:37:29 +01:00
Benjamin Wang
2791941d1d
Merge pull request #18619 from redwrasse/redwrasse/ioutil/remaining-errors-is
...
ioutil: remaining errors.Is conversions
2024-09-22 19:34:06 +01:00
Chun-Hung Tseng
35edbf91ad
dependency: bump github.com/golangci/golangci-lint from 1.60.3 to 1.61.0 and google.golang.org/genproto/googleapis/rpc from v0.0.0-20240822170219-fc7c04adadcd to v0.0.0-20240903143218-8af14fe29dc1
...
Also fix the inconsistent version issue.
Reference:
- https://github.com/etcd-io/etcd/pull/18596
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-22 17:50:56 +02:00
Chun-Hung Tseng
1199fa89a0
dependency: bump golang.org/x/net from 0.28.0 to 0.29.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18597
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-22 17:50:12 +02:00
Benjamin Wang
2f9532bfca
Merge pull request #18608 from srivastav-abhishek/periodic-compaction-flake-fix
...
Fixed periodic compaction tests
2024-09-22 09:17:13 +01:00
redwrasse
c568ce621b
ioutil: remaining errors.Is conversions
...
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-20 15:57:00 -07:00
redwrasse
f6278ef2a9
contrib: remaining errors.Is conversions
...
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-20 15:44:13 -07:00
redwrasse
0a355d3fbd
etcdctl: remaining errors.Is conversions for error equality and inequality checks
...
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-20 15:38:46 -07:00
redwrasse
d59fa331c5
Replaces rest of error equality checks with errors.Is
...
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-20 15:06:10 -07:00
Benjamin Wang
6ea81c1a34
Merge pull request #18600 from ivanvc/update-release-doc-after-observations-from-3.4.34
...
docs: update release.md with improvements from v3.4.34 release
2024-09-20 10:42:34 +01:00
Marek Siarkowicz
1820d3b7d5
Merge pull request #18510 from redwrasse/redwrasse/errors-is
...
Use errors.Is for error equality checks
2024-09-20 09:02:40 +02:00
Joshua Zhang
b8cb654be6
Use strict synchronization for revision getter to minimize flaky result caused by time racing.
...
Signed-off-by: Joshua Zhang <joshuazh@microsoft.com>
Addressed review comments
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
Signed-off-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2024-09-19 17:34:24 +05:30
Benjamin Wang
9fc3b2ad40
Merge pull request #18590 from henrybear327/ci/fix
...
Add tools/mod to module_dirs
2024-09-19 10:36:12 +01:00
Marek Siarkowicz
ce07474c0b
Merge pull request #18603 from lekaf974/feat/rename-module-exp
...
Rename modules_exp to modules_for_bom to improve code and clarity
2024-09-19 10:00:30 +02:00
mevrin
5b2faec983
fea: Remane modules_exp to modules_for_bom to improve code and clarity
...
Signed-off-by: mevrin <matthieu.evrin@gmail.com>
2024-09-18 21:45:07 -04:00
Chun-Hung Tseng
fc901bd019
Add tools/mod to module_dirs
...
As `tools/mod` also contains the `go.mod` file. We should add it to the
`module_dirs` variable, so that when executing `./scripts/fix.sh`, the
proper checks and fixes can be applied.
To address the issue of broken unit tests and code coverage due to the
directory's lack of Go code, we've introduced a new doc.go file. This
file acts as a placeholder, enabling tools like golangci-lint and
go test to function correctly.
---
Discovered when working on https://github.com/etcd-io/etcd/pull/18575
The directories are checked against the following:
- Command: `find . -type f -name go.mod -exec dirname {} \;`
- Output:
```
./etcdutl
.
./tools/testgrid-analysis
./tools/rw-heatmaps
./tools/mod
./etcdctl
./tests
./server
./api
./client/internal/v2
./client/v3
./client/pkg
./pkg
```
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-18 14:33:13 +02:00
zhanghangfeng
4155d8bb5b
docs: fix description of WatchResponse.canceled
...
Signed-off-by: Myrat92 <zjsegzhf@gmail.com>
2024-09-18 15:10:07 +08:00
Ivan Valdes
7e3901fb04
docs: update release.md with improvements from v3.4.34 release
...
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-09-17 13:57:20 -07:00
Marek Siarkowicz
2ed418c191
Merge pull request #18574 from lucasrod16/18571-ensure-consistent-permissions-for-broken-WAL-files
...
Ensure consistent file permissions on broken WAL files
2024-09-17 09:54:59 +02:00
James Blair
4b8655ea00
Merge pull request #18598 from etcd-io/dependabot/github_actions/github/codeql-action-3.26.7
...
build(deps): bump github/codeql-action from 3.26.6 to 3.26.7
2024-09-17 06:08:57 +10:00
Lucas Rodriguez
d12bb7e0fb
Ensure consistent file permissions on broken WAL
...
Signed-off-by: Lucas Rodriguez <lucas.rodriguez9616@gmail.com>
2024-09-16 14:07:16 -05:00
dependabot[bot]
2d5e1858cd
build(deps): bump github/codeql-action from 3.26.6 to 3.26.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.6 to 3.26.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4dd16135b6...8214744c54
)
---
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>
2024-09-16 17:47:08 +00:00
Benjamin Wang
7f399ee50c
Merge pull request #18592 from jmhbnz/main
...
Ensure commits are signed in `scripts/release.sh`
2024-09-16 14:09:51 +01:00
James Blair
7e8e0bf1f9
Ensure commits are signed in scripts/release.sh.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2024-09-16 11:31:30 +12:00