Commit Graph

21354 Commits

Author SHA1 Message Date
James Blair
f0a934adeb Automate labels for etcdctl & etcdutl pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
83d28a17ae Automate labels for documentation pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
0d51929c99 Automate labels for clientv3 pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
2fa2613ca0 Automate labels for security pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
2e70fc7d1d Automate labels for tests pull requests.
Signed-off-by: James Blair <mail@jamesblair.net>
2024-05-12 22:24:21 +12:00
James Blair
58a71a22f3 Merge pull request #17975 from lavishpal/upgrade/go-to-1.22.3
dependency: upgrade go to 1.22.3
2024-05-10 15:08:58 +12:00
Lavish pal
6038f391f1 Upgrade go to 1.22.3.
Signed-off-by: Lavish pal <lvishpal408@gmail.com>
2024-05-10 03:27:35 +05:30
Marek Siarkowicz
dc35b6493f Merge pull request #17966 from serathius/robustness-relax
Relax assumptions about all client request persisted in WAL to only require first and last request to be persisted
2024-05-09 17:51:27 +02:00
Benjamin Wang
d14a24783b Merge pull request #17973 from henrybear327/dependency_update/5_6_24
[2024-05-06] Bump dependency updates identified by dependabot
2024-05-09 14:22:32 +01:00
Chun-Hung Tseng
3375e89b11 Fix issue reported by static analyzer
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 13:58:29 +02:00
Chun-Hung Tseng
69ca6e96fa dependency: bump golang.org/x/net from 0.24.0 to 0.25.0
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Chun-Hung Tseng
1a1820562d dependency: bump golang.org/x/crypto from 0.22.0 to 0.23.0
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Chun-Hung Tseng
41ba741db1 dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.50.0 to 0.51.0
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Chun-Hung Tseng
ee9af3c566 dependency: bump google.golang.org/protobuf from 1.33.0 to 1.34.1
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Marek Siarkowicz
e1244f19d6 Merge pull request #17918 from serathius/robustness-serializable-validation-test
Add tests to serializable operations validation
2024-05-09 11:07:49 +02:00
James Blair
905f0f1d9f Merge pull request #17971 from callthingsoff/eliminate_max
tools/benchmark/cmd: eliminate custom max function
2024-05-09 20:21:21 +12:00
Marek Siarkowicz
b8ffc5e8c0 Merge pull request #17967 from serathius/robustness-update-readme
Update the robustness README and fix the #14370 reproduction case
2024-05-09 10:05:27 +02:00
Marek Siarkowicz
c4ff2c20bd Merge pull request #17965 from serathius/makefile-cache
Fix caching by not depending on PHONY target in non-PHONY target
2024-05-08 16:47:45 +02:00
Jes Cok
beb5e85dcb tools/benchmark/cmd: eliminate custom max function
Just a code clean-up.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-05-08 21:52:49 +08:00
Marek Siarkowicz
f5c0e785a7 Fix caching by not depending on PHONY target in non-PHONY target
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 14:29:28 +02:00
Marek Siarkowicz
b883f839f1 Add tests to serializable operations validation
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 12:29:55 +02:00
Marek Siarkowicz
bb398a0e6c Merge pull request #17889 from serathius/robustness-operations-failpoints
Robustness operations failpoints
2024-05-08 11:37:22 +02:00
Marek Siarkowicz
be9758e2bc Update the robustness README and fix the #14370 reproduction case
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 11:31:28 +02:00
Benjamin Wang
570370f6e7 Merge pull request #17876 from MadhavJivrajani/go-directive-periodic
[RFC] Setup a way to consistently manage go versions across scripts and go.mods
2024-05-08 09:47:13 +01:00
Marek Siarkowicz
7181c7532f Relax assumptions about all client request persisted in WAL to only require first and last request to be persisted
This assumption is not true during durability issues like #14370.
In reality we want to avoid situations where WAL is was truncated, for
that it's enough that we ensure that first and last operations are
present.

Found it when running `make test-robustness-issue14370` and instead of
getting `Model is not linearizable` I got that assumptions were broken.

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-05-08 10:40:38 +02:00
Benjamin Wang
7bff148052 Merge pull request #17963 from callthingsoff/use_min_max
pkg/report: make use of builtin min/max function
2024-05-08 06:38:27 +01:00
Benjamin Wang
fef42363a3 Merge pull request #17861 from clwluvw/cn-hostname-configfile
config: support AllowedCN and AllowedHostname through config file
2024-05-08 06:36:30 +01:00
James Blair
e8c975232d Merge pull request #17962 from tjungblu/cl_debug_35
update changelog for experimental-stop-grpc-service-on-defrag
2024-05-08 16:16:37 +12:00
Seena Fallah
b31f23e113 config: support AllowedCN and AllowedHostname through config file
Allow setting AllowedCN and AllowedHostname tls fields through config file for peer transport security.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-05-07 22:39:16 +02:00
Thomas Jungblut
bcf6a8c65a update changelog for experimental-stop-grpc-service-on-defrag
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-07 16:36:07 +02:00
Jes Cok
6b517bfb4b pkg/report: make use of builtin min/max function
This patch eliminates the minDuration and maxDuration functions,
simplifies the code.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-05-07 22:36:05 +08:00
Madhav Jivrajani
f6a35f8786 .*: sync go toolchain version and add ability to verify versions
This commit adds a script to sync the version present in .go-version
across all go.mod files as the toolchain directive. As part of that,
this commit also modifies go.mod files that did not have synced toolchain
directives.

Additionally, this also adds a script to verify all toolchain and go
directives against the version present in .go-version as follows:
(1) The go directive <= version in .go-version
(2) The toolchain directive == version in .go-version

This script runs as part of the `make verify` target, making it run
as a presbumit by default.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-07 17:52:56 +05:30
Madhav Jivrajani
e094139b05 scripts: default to using .go-version's version for tests and builds
Additionally, provide ability to opt-out of the .go-version and use a
custom one via env vars: FORCE_HOST_GO and GO_VERSION.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-07 17:52:56 +05:30
Marek Siarkowicz
126e0d511f Merge pull request #17933 from siyuanfoundation/log
robustness: add 2 more log lines when persistClientReports
2024-05-07 09:17:22 +02:00
Benjamin Wang
3536195557 Merge pull request #17949 from etcd-io/dependabot/github_actions/actions/setup-go-5.0.1
build(deps): bump actions/setup-go from 5.0.0 to 5.0.1
2024-05-06 19:47:43 +01:00
Benjamin Wang
b54a5ce0ef Merge pull request #17947 from ArkaSaha30/bbolt-bump-1.4.0-alpha.1
dependency: bump go.etcd.io/bbolt from v1.4.0-alpha.0 to v1.4.0-alpha.1
2024-05-06 18:35:39 +01:00
dependabot[bot]
50f9062993 build(deps): bump actions/setup-go from 5.0.0 to 5.0.1
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...cdcb360436)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 17:06:58 +00:00
Siyuan Zhang
dd79332cf6 robustness: add 2 more log lines when persistClientReports
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-05-06 09:53:39 -07:00
Benjamin Wang
8cb46a25fb Merge pull request #17948 from tjungblu/cl_bbupg
Update changelog with bbolt bumps
2024-05-06 17:07:11 +01:00
Thomas Jungblut
a54b08016a Update changelog with bbolt bumps
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-06 16:49:37 +02:00
ArkaSaha30
7a383beba3 dependency: bump go.etcd.io/bbolt from v1.4.0-alpha.0 to v1.4.0-alpha.1
This commit will bump go.etcd.io/bbolt from
v1.4.0-alpha.0 to v1.4.0-alpha.1 for etcd 3.6

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-05-06 19:53:29 +05:30
Benjamin Wang
5e25864048 Merge pull request #17942 from tjungblu/cl_quota_36
Update changelog with quota to endpoint status response
2024-05-06 10:13:33 +01:00
James Blair
b30a50d5a3 Merge pull request #17941 from ivanvc/remove-golangci-step-from-static-analysis
github/workflows: remove golangci-lint-action step from static-analysis
2024-05-06 18:38:39 +12:00
Thomas Jungblut
aff808ff0b Update changelog with quota to endpoint status response
change from #17877

Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-05-06 08:37:14 +02:00
Ivan Valdes
cdf03d641a github/workflows: remove golangci-lint-action step from static-analysis
The golangci-lint-action step runs only on the repository's top-level
directory. Then, make verify reruns it on the same directory, which is
redundant.

However, to keep make verify target working, golangci-lint needs to be
installed locally.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-05 20:16:09 -07:00
Benjamin Wang
a8c6a9c605 Merge pull request #17937 from ivanvc/fix-running-make-fix
make: fix running fix target after verify
2024-05-05 07:45:51 +01:00
Benjamin Wang
301c74c688 Merge pull request #17932 from sharathsivakumar/shsi/dep_2
Manually bump dependencies
2024-05-04 20:09:12 +01:00
Ivan Valdes
0c134dd2c7 make: fix running fix target after verify
Define a Python virtual environment to install yamllint, if not
installed locally, in a temporary directory and delete it after the run
of the verify-yamllint command. This avoids the issue of building the
build of materials that doesn't follow symlinks in the virtual
environment directory.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-05-04 09:56:50 -07:00
James Blair
25367fc7e9 Merge pull request #17921 from ivanvc/enable-var-naming-linter-rule
Enable var-naming linter rule
2024-05-04 20:14:57 +12:00
Sharath Sivakumar
813e0865fe bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.25.0 to 1.26.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-05-03 21:43:03 +02:00