1736 Commits

Author SHA1 Message Date
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
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
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
Lucas Rodriguez
a042354947 Fix races in TestLessorRenewExtendPileup
Signed-off-by: Lucas Rodriguez <lucas.rodriguez9616@gmail.com>
2024-09-09 10:39:44 -05: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
Chun-Hung Tseng
c2d4f2b694 dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.27.0 to 1.29.0
Reference:
- https://github.com/etcd-io/etcd/pull/18515

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-30 22:58:26 +02:00
Chun-Hung Tseng
077817058f
dependency: bump github.com/prometheus/client_golang from 1.20.0 to 1.20.2
Reference:
- https://github.com/etcd-io/etcd/pull/18492

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-29 22:12:13 +02:00
Chun-Hung Tseng
40fc67e88a
dependency: bump go.opentelemetry.io/otel/sdk from 1.28.0 to 1.29.0
Reference:
- https://github.com/etcd-io/etcd/pull/18497

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-29 22:12:13 +02:00
Chun-Hung Tseng
7ef38ee7ec
dependency: bump go.opentelemetry.io/otel from 1.28.0 to 1.29.0 and bump go.opentelemetry.io/otel/trace from 1.28.0 to 1.29.
Reference:
- https://github.com/etcd-io/etcd/pull/18499
- https://github.com/etcd-io/etcd/pull/18498

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-29 22:12:13 +02:00
Chun-Hung Tseng
f56a0a4e82
dependency: bump github.com/google/btree from 1.1.2 to 1.1.3
Reference:
- https://github.com/etcd-io/etcd/pull/18500

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-29 22:12:13 +02:00
Jalin Wang
2c53be7c5d
etcdserver: rename defaultCompactionSleepInterval var (#18495)
* etcdserver: rename `minimumBatchInterval`  to `defaultCompactionSleepInterval` and `defaultCompactBatchLimit` to `defaultCompactionBatchLimit`

Signed-off-by: Jalin Wang <JalinWang@outlook.com>
2024-08-27 14:36:06 +01:00
Chun-Hung Tseng
e794407f3f dependency: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0
Reference:
- https://github.com/etcd-io/etcd/pull/18469
- https://github.com/etcd-io/etcd/pull/18466

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-24 03:10:29 +02:00
Chun-Hung Tseng
d23c2c7a16 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.21.0 to 2.22.0
Reference:
- https://github.com/etcd-io/etcd/pull/18470
- https://github.com/etcd-io/etcd/pull/18467

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-24 03:10:29 +02:00
Lan Liang
a966c07165 migrate experimental-initial-corrupt-check flag to feature gate.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-22 14:42:18 +00:00
Benjamin Wang
1d0a6b3978
Merge pull request #18274 from fuweid/fix-event-loss-caused-by-compact
*: keep tombstone if revision == compactAtRev
2024-08-16 08:16:04 +01:00
Benjamin Wang
a8b30b19bd
Merge pull request #18428 from ahrtr/improve_leaseRenew_20240809
Skip leadership check if the etcd instance is active processing heartbeats
2024-08-14 15:58:04 +01:00
Benjamin Wang
b8b0cf83d1 Skip leadership check if the etcd instance is active processing heartbeat
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-08-09 17:02:02 +01:00
Chun-Hung Tseng
6208673ebf
dependency: bump golang.org/x/sys from 0.23.0 to 0.24.0
Reference:
- https://github.com/etcd-io/etcd/pull/18426
- https://github.com/etcd-io/etcd/pull/18425

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-09 10:17:01 +02:00
Benjamin Wang
9c187ef337
Merge pull request #18420 from henrybear327/go/1.22.6
go version bump from 1.22.5 to 1.22.6
2024-08-08 22:02:17 +01:00
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
794d1b64f7
go version bump from 1.22.5 to 1.22.6
Reference: https://github.com/etcd-io/etcd/issues/18419
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:30:09 +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
Wei Fu
bbdc94181a *: keep tombstone if revision == compactAtRev
Before this patch, the tombstone can be deleted if its revision is equal
compacted revision. It causes that the watch subscriber won't get this
DELETE event. Based on Compact API[1], we should keep tombstone revision
if it's not less than the compaction revision.

> CompactionRequest compacts the key-value store up to a given revision.
> All superseded keys with a revision less than the compaction revision
> will be removed.

[1]: https://etcd.io/docs/latest/dev-guide/api_reference_v3/

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-08-07 21:56:20 +08: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