21574 Commits

Author SHA1 Message Date
Ivan Valdes
ba4b2bffeb
make: Include tools/mod when checking dependency versions
As tools/mod is not part of the test library's modules, the check to verify
consistent dependency versions ignored it. Explicitly get the dependencies from
this module when running verify-dep.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-07-03 15:21:31 -07:00
Benjamin Wang
dcef14a32f
Merge pull request #18273 from ArkaSaha30/deps_mgmt_1_7_24
Follow up manual Dependency Bump
2024-07-03 20:14:40 +01:00
ArkaSaha30
5a8e77ffc2
dependency: bump github.com/prometheus/common from 0.54.0 to 0.55.0
This commit bumps github.com/prometheus/common from 0.54.0 to 0.55.0 in tools/mod.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-03 14:30:59 +05:30
Benjamin Wang
0f24953852
Merge pull request #18266 from ArkaSaha30/deps_mgmt_1_7_24
[2024-07-03] Manual Dependency Bump
2024-07-03 07:33:30 +01:00
Benjamin Wang
0a5d905209
Merge pull request #18270 from thedtripp/main-go-2024-2963
Bump Go version to 1.22.5: GO-2024-2963 fix.
2024-07-03 07:29:55 +01:00
D Tripp
8f974669c5 Bump Go version to 1.22.5: GO-2024-2963 fix.
Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-07-03 05:07:03 +00:00
ArkaSaha30
fc33323a5d
dependency: bump github.com/prometheus/common from 0.54.0 to 0.55.0
This commit will bump the dependency github.com/prometheus/common from 0.54.0 to 0.55.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-03 00:58:28 +05:30
ArkaSaha30
708c3d8cf4
dependency: bump github.com/bgentry/speakeasy from 0.1.0 to 0.2.0
This commit will bump dependency github.com/bgentry/speakeasy from 0.1.0 to 0.2.0
raised by dependabot.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-03 00:56:44 +05:30
Benjamin Wang
37cbd6cd97
Merge pull request #18233 from jcferretti/etcdctl-minmaxcreatemod
etcdctl: add support for filtering by {min,max} x {create,mod} x {revision}
2024-07-02 18:55:09 +01:00
Cristian Ferretti
07b35dd7e3 etcdctl: add support for filtering by {min,max} x {create,mod} x {revision}
Signed-off-by: Cristian Ferretti <jcferretti2020@gmail.com>
2024-07-02 12:48:00 -04:00
Marek Siarkowicz
bf78a233ff
Merge pull request #18245 from ahmetb/ahmet/supress-log
Suppress noisy basic auth token deletion log
2024-07-02 09:41:52 +02:00
James Blair
2af08e0642
Merge pull request #18256 from etcd-io/dependabot/github_actions/github/codeql-action-3.25.11
build(deps): bump github/codeql-action from 3.25.10 to 3.25.11
2024-07-02 06:47:36 +12:00
dependabot[bot]
7ed3359a89
build(deps): bump github/codeql-action from 3.25.10 to 3.25.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.10 to 3.25.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](23acc5c183...b611370bb5)

---
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-07-01 17:04:16 +00:00
James Blair
04082b7672
Merge pull request #18249 from ivanvc/remove-govulncheck-github-workflow
github: remove govulncheck action
2024-06-30 05:13:39 +12:00
Ivan Valdes
34361a1a81
github: remove govulncheck action
This job has already been migrated to prow.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-06-28 22:07:01 -07:00
James Blair
8e20ad03ac
Merge pull request #18246 from ivanvc/update-3.4.33-release-date
changelog/3.4: set 3.4.33 release date
2024-06-29 11:54:03 +12:00
Ivan Valdes
396e2918f7
changelog/3.4: set 3.4.33 release date
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-06-28 15:30:56 -07:00
Ahmet Alp Balkan
ec289a8129 Suppress noisy basic auth token deletion log
Right now the basic auth tokens that are deleted after `--auth-token-ttl`
cause info-level logs to be emitted. Change this to debug. This helps with
the issue at #18244 where calling `/readyz` frequently pollutes the etcd server
logs with this log message.

Fixes #18244.

Signed-off-by: Ahmet Alp Balkan <ahmet@linkedin.com>
2024-06-28 12:12:01 -07:00
James Blair
1c22e7b36b
Merge pull request #18243 from masonyc/cleanup-unneeded-logger-check
etcd-client: Clean up unnecessary nil Logger check
2024-06-28 21:42:11 +12:00
Benjamin Wang
3cd044f4bd
Merge pull request #18201 from MadhavJivrajani/e2e-issue-18089
tests/e2e: add e2e test to reproduce issue 18089
2024-06-28 09:43:10 +01:00
Mason Chen
7dec366acd etcdclient: Clena up unnecessary nil Logger check
Clean up unnecessary nil Logger for listener.go as pointed out in issue
#18084

Signed-off-by: Mason Chen <mason.yunchen@gmail.com>
2024-06-28 20:11:44 +12:00
Marek Siarkowicz
9d04ab24b8
Merge pull request #18241 from serathius/robustness-failpoint-name
Add failpoint name to test name allowing us to track a per failpoint failures in testgrid
2024-06-27 19:41:48 +02:00
Marek Siarkowicz
c41e02f7b6 Add failpoint name to test name allowing us to track a per failpoint failures in testgrid
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-27 18:35:04 +02:00
Madhav Jivrajani
ebf2cac6bd tests/e2e: add e2e test to reproduce issue 18089
The goal is to reproduce a DELETE event being dropped in a watch after a compaction
occurs on the revision where the deletion took place. In order to reproduce this, we
perform the following sequence (steps for reproduction thanks to @ahrtr):
  - PUT k v2 (assume returned revision = r2)
  - PUT k v3 (assume returned revision = r3)
  - PUT k v4 (assume returned revision = r4)
  - DELETE k (assume returned revision = r5)
  - PUT k v6 (assume returned revision = r6)
  - COMPACT r5
  - WATCH rev=r5

We should get the DELETE event (r5) followed by the PUT event (r6). However, currently we only
get the PUT event with returned revision of r6 (key=k, val=v6).

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-06-27 14:51:12 +05:30
James Blair
21e5876f7f
Merge pull request #18219 from lhy1024/add-etcd-log
[3.5] CHANGELOG: support multiple values for allowed client and peer …
2024-06-26 12:16:19 +12:00
James Blair
38535c2dd8
Merge pull request #18228 from henrybear327/dependency_update/6_24_24
[2024-06-24] Bump dependency updates identified by dependabot
2024-06-26 10:06:48 +12:00
Marek Siarkowicz
917ded9eda
Merge pull request #18214 from serathius/robustness-separate-persisted
Separate persisted responses without knowing their revision to prevent duplicating state during linearization
2024-06-25 23:22:36 +02:00
lhy1024
e7f51cbd5f [3.5] CHANGELOG: support multiple values for allowed client and peer TLS identities
Signed-off-by: lhy1024 <admin@liudos.us>
2024-06-25 20:49:56 +08:00
Benjamin Wang
a897676d54
Merge pull request #18210 from rleungx/update-changelog
Update release-3.6 changelog
2024-06-25 13:22:46 +01:00
Chun-Hung Tseng
5be397a6a8
Fix a linter issue
golangci-lint reports the following issue:
storage/mvcc/kvstore.go:312:27: (*store).restore - result 0 (error) is always nil (unparam)

It's due to the fact that both Attach() and compactLockfree() within the
function restore() are able to return an error, but we only log them in
the current implementation. Thus, the return value restore() is always
nil, hence the linter warning.

We have agreed to suppress the linter warning for now [1].

Reference:
[1] https://github.com/etcd-io/etcd/pull/18228#issuecomment-2187309957

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-25 11:45:53 +02:00
Chun-Hung Tseng
bfc4dc6206
dependency: bump github.com/google/yamlfmt from 0.12.1 to 0.13.0
Reference:
- https://github.com/etcd-io/etcd/pull/18222

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-25 11:23:58 +02:00
Chun-Hung Tseng
bca81b9450
dependency: bump github.com/golangci/golangci-lint from 1.59.0 to 1.59.1
Reference:
- https://github.com/etcd-io/etcd/pull/18223

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-25 11:23:58 +02:00
James Blair
d80d0f0c8b
Merge pull request #18226 from etcd-io/dependabot/github_actions/aquasecurity/trivy-action-0.23.0
build(deps): bump aquasecurity/trivy-action from 0.22.0 to 0.23.0
2024-06-25 09:40:47 +12:00
Marek Siarkowicz
1870222f41 Separate persisted responses without knowing their revision to prevent duplicating state during linearization
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-24 21:38:27 +02:00
Marek Siarkowicz
0dd79f4e18
Merge pull request #18227 from serathius/robustness-test-patch-history
Add tests for patching history to check output and return values
2024-06-24 21:38:18 +02:00
Marek Siarkowicz
35f4556b59 Add tests for patching history to check output and return values
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-24 20:41:32 +02:00
dependabot[bot]
6414e74486
build(deps): bump aquasecurity/trivy-action from 0.22.0 to 0.23.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](595be6a0f6...7c2007bcb5)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 17:56:43 +00:00
James Blair
74ca64116f
Merge pull request #18217 from jmhbnz/main
Bump shellcheck to latest v0.10.0 release
2024-06-25 04:51:51 +12:00
Benjamin Wang
b96b6ba04c
Merge pull request #18220 from ahrtr/ep__sync_verify_20240624
Add verification on `client.Sync` to ensure the returned endpoints never empty
2024-06-24 17:19:15 +01:00
Benjamin Wang
281f177345 add verification on client.Sync to ensure the returned endpoints never empty
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-06-24 10:07:36 +01:00
Marek Siarkowicz
9314ef760d
Merge pull request #18213 from serathius/robustness-disable-18089
Disable robustness test detection of #18089 to allow detecting other issues
2024-06-24 09:56:32 +02:00
Ryan Leung
893f93e2bc add embed.Config.GRPCAdditionalServerOptions into changelog
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2024-06-24 13:59:43 +08:00
Benjamin Wang
67a6dbdb7c
Merge pull request #18218 from andyxning/changelog_for_bugfix_18164_prometheus_metric_register_of_walWriteSec
add changelog for bugfix 18164 prometheus metric register of walWriteSec
2024-06-24 06:43:02 +01:00
Andy Xie
37fe67b329 add changelog for bugfix 18164 prometheus metric register of walWriteSec
Signed-off-by: Andy Xie <andy.xning@gmail.com>
2024-06-24 11:06:47 +08:00
James Blair
29b4ff2fd8
Bump shellcheck to latest 2024 release.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-06-24 11:24:31 +12:00
Marek Siarkowicz
4fe227c46c Disable robustness test detection of #18089 to allow detecting other issues
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-06-22 11:01:47 +02:00
James Blair
16ed0fe86e
Merge pull request #18212 from Willhow-Gao/main
mvcc: fix typo
2024-06-22 20:10:26 +12:00
MR_G
c0076a788e mvcc: fix typo
Signed-off-by: MR_G <2044783677@qq.com>
2024-06-22 00:17:13 +08:00
Benjamin Wang
1d13fc58ff
Merge pull request #14066 from rleungx/add-config
embed: add `GRPCAdditionalServerOptions` config
2024-06-21 06:40:32 +01:00
James Blair
00a609751a
Merge pull request #18206 from henrybear327/dependencies/06_19_24
[2024-06-19] Bump dependency update
2024-06-20 07:31:27 +12:00