21806 Commits

Author SHA1 Message Date
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
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
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
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
James Blair
6c1fe4a92a
Merge pull request #18575 from henrybear327/dependencies/09_11_24
[2024-09-11] Bump dependency updates identified by dependabot
2024-09-15 17:28:45 +10:00
Chun-Hung Tseng
14d54893e0 dependency: bump golang.org/x/crypto from 0.26.0 to 0.27.0
golang.org/x/sys and golang.org/x/text version inconsistency are also
addressed:
- bump golang.org/x/sys from 0.24.0 to 0.25.0
- bump golang.org/x/text from 0.17.0 to 0.18.0

Reference:
- https://github.com/etcd-io/etcd/pull/18563
- https://github.com/etcd-io/etcd/pull/18558
- https://github.com/etcd-io/etcd/pull/18566
- https://github.com/etcd-io/etcd/pull/18565

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-14 22:29:31 +02:00
Chun-Hung Tseng
a976ba136d dependency: bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3
Reference:
- https://github.com/etcd-io/etcd/pull/18564
- https://github.com/etcd-io/etcd/pull/18559

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-14 22:10:04 +02:00
Chun-Hung Tseng
636f191368 dependency: bump github.com/prometheus/common from 0.57.0 to 0.59.1
Reference:
- https://github.com/etcd-io/etcd/pull/18562
- https://github.com/etcd-io/etcd/pull/18567

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-14 21:48:11 +02:00
James Blair
981061a495
Merge pull request #18577 from ivanvc/update-release-3.4.34-release-date
CHANGELOG: set release 3.4.34 date
2024-09-12 07:32:08 +10:00
Ivan Valdes
94e5502112
CHANGELOG: set release 3.4.34 date
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-09-11 13:27:10 -07:00
James Blair
fdbde77a92
Merge pull request #18444 from henrybear327/go/1.23.0
[main] Bump go toolchain to 1.22.7
2024-09-12 04:23:50 +10:00
Chun-Hung Tseng
29f3bc2222
Bump go toolchain to 1.22.7
Reference:
- https://github.com/etcd-io/etcd/issues/18443
- https://github.com/etcd-io/etcd/issues/18548#issuecomment-2343061825

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-11 15:32:52 +02:00
Benjamin Wang
5088131f51
Merge pull request #18572 from ArkaSaha30/release-doc-update
Improve release documentation
2024-09-11 09:40:45 +01:00
James Blair
c7b536c016
Merge pull request #18573 from ivanvc/update-release-3.5.16-release-date
CHANGELOG: Update release date for v3.5.16
2024-09-11 07:46:54 +10:00
Ivan Valdes
96e17d38e2
Update release date for v3.5.16
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-09-10 13:43:19 -07:00
ArkaSaha30
00f8a47d22
Improve release documentation
This commit will improve the release documentation guide by incorporating the following points:
1. Step 5 can be simplified to do a single-branch checkout
2. Step 6 should clarify that the release directory is in /tmp/etcd-release-${VERSION}/etcd/release/
3. Step 8 mention to add the "Release" label to the announcement message

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-09-11 00:37:41 +05:30
James Blair
4997a2bf93
Merge pull request #18568 from etcd-io/dependabot/docker/distroless/static-debian12-95eb83a44a62c1c27e5f0b38d26085c486d71ece83dd64540b7209536bb13f6d
build(deps): bump distroless/static-debian12 from `ce46866` to `95eb83a`
2024-09-10 17:10:49 +10:00
James Blair
f928344bcf
Merge pull request #18556 from JalinWang/chore/update-changelog
CHANGELOG: add note for the CompactionSleepInterval flag(PR 18514)
2024-09-10 14:16:30 +10:00
Benjamin Wang
4e82d9b20e
Merge pull request #18555 from lucasrod16/18538-fix-races-in-TestLessorRenewExtendPileup
Fix races in TestLessorRenewExtendPileup
2024-09-09 19:59:51 +01:00
dependabot[bot]
eb100511a6
build(deps): bump distroless/static-debian12 from ce46866 to 95eb83a
Bumps distroless/static-debian12 from `ce46866` to `95eb83a`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 17:37:08 +00:00
Benjamin Wang
42dd29877f
Merge pull request #18539 from ahrtr/scan_db_20240902
Support scan-keys command to scan the key space starting a specific revision
2024-09-09 16:49:34 +01:00
Lucas Rodriguez
a042354947 Fix races in TestLessorRenewExtendPileup
Signed-off-by: Lucas Rodriguez <lucas.rodriguez9616@gmail.com>
2024-09-09 10:39:44 -05:00
Jalin Wang
7fcc3cfefe CHANGELOG: add note for the CompactionSleepInterval flag(PR 18514)
Signed-off-by: Jalin Wang <JalinWang@outlook.com>
2024-09-09 10:17:31 +08:00
Benjamin Wang
f89dfed2dc
Merge pull request #18545 from qsyqian/benchmark_support_skip_tls_verify
benchmark: support InsecureSkipVerify
2024-09-08 12:39:21 +01:00
Benjamin Wang
bf63f91705
Merge pull request #18553 from ivanvc/update-changelog-to-reflect-go-update-to-1.22.7
CHANGELOG: add note regarding updating to go 1.22.7
2024-09-06 14:34:29 +01:00
Ivan Valdes
e3bade81e7
CHANGELOG: add note regarding updating to go 1.22.7
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-09-05 20:57:49 -07:00
Benjamin Wang
cb2f7b7a63 Support scan-keys command to scan the key space starting a specific revision
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-09-05 08:46:22 +01:00
qsyqian
46cf1e6e8c benchmark: support insecure-skip-tls-verify
Signed-off-by: qsyqian <qsyqian@gmail.com>
2024-09-05 15:13:21 +08:00
Benjamin Wang
4a11ca6c89
Merge pull request #18536 from henrybear327/dependency_update/9_3_24
[2024-09-03] Bump dependency updates identified by dependabot
2024-09-04 19:04:18 +01:00
redwrasse
d4df7a902e Replaces a number of error equality checks with errors.Is
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-03 16:02:24 -07:00
Chun-Hung Tseng
b3a0047c80 dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.53.0 to 0.54.0
Reference:
- https://github.com/etcd-io/etcd/pull/18525

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-03 16:33:50 +02:00
Chun-Hung Tseng
bd246ea174 dependency: bump github.com/prometheus/common from 0.55.0 to 0.57.0
Reference:
- https://github.com/etcd-io/etcd/pull/18529
- https://github.com/etcd-io/etcd/pull/18523

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-03 16:30:25 +02:00
Chun-Hung Tseng
2cd46694b9 dependency: bump google.golang.org/grpc from 1.65.0 to 1.66.0
Reference:
- https://github.com/etcd-io/etcd/pull/18530
- https://github.com/etcd-io/etcd/pull/18524

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-03 16:27:55 +02:00
James Blair
c00593bbd4
Merge pull request #18531 from etcd-io/dependabot/github_actions/actions/upload-artifact-4.4.0
build(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0
2024-09-03 23:23:45 +12:00