Gyuho Lee
22f20a827b
test(e2e): add a case where client tls is missing for https metrics url
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2024-06-17 21:09:24 +08:00
Gyuho Lee
a657f069a1
fix(server/embed): enforce non-empty client TLS if scheme is https/unixs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2024-06-17 18:21:38 +08:00
Cenk Alti
ea46253b42
Improve snapshot status
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2024-06-15 10:11:34 -04:00
Benjamin Wang
45f14539e0
Merge pull request #18164 from andyxning/bugfix_register_of_walWriteSec
...
bugfix: register of walWriteSec
2024-06-14 18:32:15 +01:00
lubronzhan
0b6529c462
mvcc: fix typo
...
Signed-off-by: lubronzhan <lubronzhan@gmail.com>
2024-06-13 00:15:37 -07:00
Andy Xie
4a555fead3
bugfix: register of walWriteSec
...
Signed-off-by: Andy Xie <andy.xning@gmail.com>
2024-06-13 15:12:58 +08:00
Chun-Hung Tseng
293d979759
dependency: bump golang.org/x/net from 0.25.0 to 0.26.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18150
- https://github.com/etcd-io/etcd/pull/18146
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-12 09:45:04 +02:00
Chun-Hung Tseng
e1d7af5a0c
dependency: bump golang.org/x/crypto from 0.23.0 to 0.24.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18149
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-12 09:37:07 +02:00
lhy1024
acc9d7c9fe
Support multiple values for allowed client and peer TLS identities
...
Signed-off-by: lhy1024 <admin@liudos.us>
2024-06-06 21:25:17 +08:00
ArkaSaha30
2089857ab8
Bump Go version to 1.22.4: CVE 2024-24790 fix
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 14:12:52 +05:30
James Blair
2f083a5733
Merge pull request #18120 from henrybear327/dependency_update/6_3_24
...
[2024-06-03] Bump dependency updates identified by dependabot
2024-06-04 12:41:06 +12:00
Chun-Hung Tseng
f77f422812
dependency: bump github.com/prometheus/common from 0.53.0 to 0.54.0
...
References:
- https://github.com/etcd-io/etcd/pull/18111
- https://github.com/etcd-io/etcd/pull/18118
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-03 22:15:31 +02:00
Cenk Alti
b107d2437f
cli: Add etcdutl snapshot hashkv command
...
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
Apply suggestions from code review
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
2024-06-02 00:07:50 -04:00
Stephen Kitt
c1f5a445fc
Use Go 1.20 error joining instead of multierr
...
This still allows the errors to be unwrapped, and drops the direct
dependency on multierr.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-05-31 09:22:52 +02:00
Chun-Hung Tseng
287a3a1a39
dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.26.0 to 1.27.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18072
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Chun-Hung Tseng
a3f7d2a5db
dependency: bump go.opentelemetry.io/otel/sdk from 1.26.0 to 1.27.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18073
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Chun-Hung Tseng
1ec63aa93a
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.51.0 to 0.52.0 and go.opentelemetry.io/otel from 1.26.0 to 1.27.0
...
When doing `go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.52.0`,
go.opentelemetry.io/otel is automatically bumped, too.
References:
- https://github.com/etcd-io/etcd/pull/18075
- https://github.com/etcd-io/etcd/pull/18074
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-30 15:19:23 +02:00
Edwin Xie
4c77726914
Implement flag --experimental-set-member-localaddr
...
Which sets the LocalAddr to an IP address from --initial-advertise-peer-urls.
Also adds e2e test that requires this flag to succeed.
Co-authored-by: HighPon <s.shiraki.business@gmail.com>
Signed-off-by: Edwin Xie <edwin.xie@broadcom.com>
2024-05-24 18:17:37 +00:00
Chun-Hung Tseng
9431e3a952
dependency: bump google.golang.org/grpc from 1.63.2 to 1.64.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18034
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-20 22:45:14 +02:00
Chun-Hung Tseng
e79a11f789
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.19.1 to 2.20.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18035
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-20 22:30:41 +02:00
Shim Myeongseob
769500124f
embed: fix typo in comment
...
Signed-off-by: Shim Myeongseob <Mangsby716@gmail.com>
2024-05-19 13:59:25 +00:00
James Blair
52fb28c1a8
Merge pull request #17983 from thedtripp/feature/addServerRangeDurationMetrics
...
etcdserver: add server range duration metrics
2024-05-19 10:04:29 +12:00
Daniel Tripp
0232686cac
etcdserver: add server range duration metrics
...
Signed-off-by: Daniel Tripp <38776199+thedtripp@users.noreply.github.com>
Co-authored-by: Ravi Hari <RaviHari@users.noreply.github.com>
2024-05-18 19:01:09 +00:00
Chun-Hung Tseng
a66cf56661
dependency: bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1
...
Reference:
- https://github.com/etcd-io/etcd/pull/17999
- https://github.com/etcd-io/etcd/pull/17994
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-17 23:53:06 +02: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
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
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
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
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
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
301c74c688
Merge pull request #17932 from sharathsivakumar/shsi/dep_2
...
Manually bump dependencies
2024-05-04 20:09:12 +01: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
Benjamin Wang
36414cb0b8
Merge pull request #17930 from jamesreprise/bootstraped
...
Fix typo bootstrapedCluster
2024-05-03 18:07:49 +01:00
Sharath Sivakumar
82113ab066
dependency: bump go.opentelemetry.io/otel/trace from 1.25.0 to 1.26.0
...
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-05-03 18:27:52 +02:00
Benjamin Wang
13c0f75b7d
Merge pull request #17877 from tjungblu/17872_status
...
add quota to endpoint status response
2024-05-03 13:03:23 +01:00
James Williams
ccb4ef76e3
typo: bootstrapedCluster -> bootstrappedCluster
...
Signed-off-by: James Williams <james.williams@griffin.com>
2024-05-03 11:34:55 +01:00
Marcus Efraimsson
030066cdb2
Chore: Use chain interceptors from grpc package
...
Signed-off-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2024-05-01 22:26:50 +02:00
Benjamin Wang
d31caaec4a
Merge pull request #17793 from mneverov/fix-quorum-check
...
Fix remove member failed.
2024-04-30 19:52:14 +01:00
Benjamin Wang
09f7d7ab92
Merge pull request #17875 from ivanvc/fix-deprecation-comments-added-with-var-naming-lint-rule
...
Fix deprecation comments from addressing var-naming work
2024-04-30 19:51:37 +01:00
Jes Cok
dafadd13c1
all: don't convert byte slice to string when using verb %s
...
This is unnecessary, as the documentation for 'go doc fmt' says:
%s the uninterpreted bytes of the string or slice
Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-25 23:34:52 +08:00
Thomas Jungblut
bdcff246cb
add quota to endpoint status response
...
This adds the configured backend quota bytes to the endpoint status response.
related discussion in #17821
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com>
2024-04-25 16:44:20 +02:00
Benjamin Wang
d876d1c33e
Merge pull request #17834 from callthingsoff/tcpproxy_remove_formatAddr
...
server/proxy/tcpproxy: use net.JoinHostPort rather than formatAddr
2024-04-25 07:29:01 +01:00
Ivan Valdes
242f5d60a8
Fix deprecation comments from addressing var-naming work
...
The deprecation tag/comment must to be followed by an empty line.
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-24 14:40:59 -07:00
Marek Siarkowicz
7af778b913
Merge pull request #17860 from siyuanfoundation/refactor
...
fix version order when calling IsValidClusterVersionChange in UpdateCapability
2024-04-24 13:26:40 +02:00
Marek Siarkowicz
dc9cfd6889
Merge pull request #17862 from fuweid/update-rev-in-revMu
...
server/storage/mvcc: should update currentRev in revMu
2024-04-24 13:21:20 +02:00
Marek Siarkowicz
5cbc8c950e
Merge pull request #17841 from henrybear327/dependencies/04_22_2024
...
[2024-04-22] Bump dependency updates identified by dependabot
2024-04-24 09:24:00 +02:00
Wei Fu
94c83a962b
server/storage/mvcc: should update currentRev in revMu
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-04-24 11:08:33 +08:00