Chun-Hung Tseng
8eb943d2af
dependency: bump golang.org/x/net from 0.27.0 to 0.28.0
...
Due to bumping github.com/alexfalkowski/gocovmerge
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:43:41 +02:00
Chun-Hung Tseng
5c290d110d
dependency: bump golang.org/x/crypto from 0.25.0 to 0.26.0
...
Due to bumping github.com/alexfalkowski/gocovmerge
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:40:19 +02:00
Chun-Hung Tseng
f071fde896
dependency: bump golang.org/x/sys from 0.22.0 to 0.23.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18406
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:24:07 +02:00
Chun-Hung Tseng
cfe806aab7
dependency: bump golang.org/x/time from 0.5.0 to 0.6.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/18401
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:24:07 +02:00
Siyuan Zhang
bd228cf6d1
migrate experimental-stop-grpc-service-on-defrag flag to feature gate.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-08-05 13:46:51 -07:00
ArkaSaha30
6a17ce3ff7
fix genproto after *.proto file update
...
Update genproto after *.proto change:
* Please rerun genproto.sh after changing *.proto file
* Run ./scripts/genproto.sh
Error encountered:
[0;31mFAIL: 'genproto' FAILED at Wed Jul 31 07:09:08 UTC 2024
make: *** [Makefile:134: verify-genproto] Error 255
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-31 15:06:45 +05:30
ArkaSaha30
984100b3a6
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.20.0 to 2.21.0
...
This commit will bump dependency bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.20.0 to 2.21.0 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-31 14:16:18 +05:30
Marek Siarkowicz
9f59ef8ead
Merge pull request #18365 from siyuanfoundation/fg-1
...
Add config file field for feature-gates flag.
2024-07-26 10:11:43 +02:00
Marek Siarkowicz
9a6c9aeeab
Merge pull request #18283 from clement2026/change-snapshot-and-compact-into-sync-operation
...
etcdserver: change the snapshot + compact into sync operation
2024-07-24 10:43:03 +02:00
Siyuan Zhang
0e77563e35
Add config file field for feature-gates flag.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-07-23 15:27:07 -07:00
Marek Siarkowicz
3b4e2f4668
Merge pull request #18279 from siyuanfoundation/fg-1
...
Add "server-feature-gates" flag.
2024-07-23 15:27:35 +02:00
Benjamin Wang
d6c0127d26
Merge pull request #18321 from fuweid/mvcc-test/should-not-allow-duplicate-keys-in-one-txn
...
mvcc/*_test.go: should not use duplicate revision.Main for one key
2024-07-20 06:13:03 +01:00
Siyuan Zhang
7b355141d9
Add "server-feature-gates" flag.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-07-18 13:20:30 -07:00
ArkaSaha30
8d61855cd6
dependency: bump go.opentelemetry.io/otel/sdk from 1.27.0 to 1.28.0
...
This commit will bump dependency go.opentelemetry.io/otel/sdk from 1.27.0 to 1.28.0 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-18 20:49:52 +05:30
ArkaSaha30
1dac90c226
dependency: bump golang.org/x/net from 0.26.0 to 0.27.0
...
This commit will bump dependency golang.org/x/net from 0.26.0 to 0.27.0 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-18 20:39:39 +05:30
ArkaSaha30
27e13a996f
dependency: bump golang.org/x/crypto from 0.24.0 to 0.25.0
...
This commit will bump dependency golang.org/x/crypto from 0.24.0 to 0.25.0 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-18 20:27:06 +05:30
Wei Fu
5e178e2288
mvcc/*_test.go: should not use duplicate revision.Main for one key
...
In commit [[1]], the newTestKeyIndex function creates one key with two
Revision{Main: 14} revisions. However, starting from version [[2]], etcd server
does not allow duplicate keys in a single transaction. This update to
newTestKeyIndex is to avoid confusion and ensure consistency with the
latest etcd server behavior.
REF:
[1]: be80d11948
[2]: https://github.com/etcd-io/etcd/pull/4376
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-07-14 17:30:47 +08:00
Benjamin Wang
b6c5262026
Differentiate the warning message for rejected client and peer connections
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-07-13 19:28:21 +01:00
ArkaSaha30
3dda3b849b
dependency: bump golang.org/x/sys from 0.21.0 to 0.22.0
...
This commit will bump dependency golang.org/x/sys from 0.21.0 to 0.22.0 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-10 23:46:20 +05:30
ArkaSaha30
3b269c59fc
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.52.0 to 0.53.0
...
This commit will bump dependency go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.52.0 to 0.53.0 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-10 23:46:20 +05:30
ArkaSaha30
cf5d692425
dependency: bump go.opentelemetry.io/otel from 1.27.0 to 1.28.0
...
This commit will bump dependency go.opentelemetry.io/otel from 1.27.0 to 1.28.0 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-10 23:46:03 +05:30
ArkaSaha30
8cd82fd375
dependency: bump google.golang.org/grpc from 1.64.0 to 1.64.1
...
This commit will bump dependency google.golang.org/grpc from 1.64.0 to 1.64.1 raised by dependabot.
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-10 19:36:05 +05:30
Clement
d820cd2b56
etcdserver: change the snapshot + compact into sync operation
...
Signed-off-by: Clement <gh.2lgqz@aleeas.com>
2024-07-05 01:27:30 +08:00
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
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
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
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
Benjamin Wang
a043da50fe
Merge pull request #18062 from stackbaek/main
...
featuregate: adds EtcdServer.FeatureEnabled interface.
2024-06-19 09:35:54 +01:00
Benjamin Wang
692e44a80b
Update the error message when client certificate isn't provided for secure metrics url
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-06-18 14:03:39 +01:00
Benjamin Wang
9c59b28086
Merge pull request #18186 from gyuho/enforce-non-empty-client-tls-if-metrics-url-scheme-is-https
...
fix(server): enforce listen-metrics-urls client TLS info when its scheme is https/unixs
2024-06-18 13:59:21 +01:00
Gyuho Lee
497f1a45a3
license
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2024-06-18 07:28:43 +08:00
Chun-Hung Tseng
166d26b4e4
dependency: bump github.com/spf13/cobra from 1.8.0 to 1.8.1
...
Reference:
- https://github.com/etcd-io/etcd/pull/18190
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 22:09:15 +02:00
Chun-Hung Tseng
a947aa0d3f
dependency: bump go.opentelemetry.io/proto/otlp from 1.2.0 to 1.3.1
...
Reference:
- https://github.com/etcd-io/etcd/pull/18191
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 22:09:15 +02:00
Chun-Hung Tseng
fa835658e3
dependency: bump google.golang.org/protobuf from 1.34.1 to 1.34.2
...
Reference:
- https://github.com/etcd-io/etcd/pull/18196
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 21:49:52 +02:00
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
Baek
60e3f45469
Adds all feature_gate from component-base.
...
We'll likely use most of the feature_gate package from component-base.
Also this commit moves the pkg from server/internal/pkg to pkg/.
Signed-off-by: Baek <seungtackbaek@google.com>
2024-06-15 05:34:58 +00:00
Baek
69ebaaebca
featuregate: adds EtcdServer.FeatureEnabled interface.
...
The interface can be used throughout the etcd server binary to check if
the feature is enabled or not.
Note that this commit also copies necessary FeatureGate interface from
k8s component-base.
Signed-off-by: Baek <seungtackbaek@google.com>
2024-06-15 05:34:58 +00: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
Ryan Leung
d9cb8b80f5
address the comment
...
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2024-06-12 11:38:41 +08:00