Commit Graph

1999 Commits

Author SHA1 Message Date
f4e7157ff1 migrate to use corrupt-check-time flag
Signed-off-by: Gang Li <gangligit@gmail.com>

add entry for --corrupt-check-time in help.go

Signed-off-by: Gang Li <gangligit@gmail.com>

remove a space

Signed-off-by: Gang Li <gangligit@gmail.com>

fix format

Signed-off-by: Gang Li <gangligit@gmail.com>

fix cluster.go

Signed-off-by: Gang Li <gangligit@gmail.com>

Add test in e2e for experimental corrupt check time flag

Signed-off-by: Gang Li <gangligit@gmail.com>

fix comment

Signed-off-by: Gang Li <gangligit@gmail.com>

fix comment

Signed-off-by: Gang Li <gangligit@gmail.com>
2025-01-13 11:58:40 -08:00
5890801f6e Merge pull request #19148 from mansoor17syed/issue_19066
fix for #19066 Print warnings when deprecated options are configured in config file
2025-01-13 15:11:03 +01:00
5c0f709c82 test: fix TestConfigFileDeprecatedOptions
Use minimal config struct for YAML marshaling.
Replace custom mapToSortedSlice with standard library functions.
Fix flag verification for deprecated experimental options.

Fixes etcd-io#19066

Signed-off-by: mansoora <syed.mansoor_a@nokia.com>
2025-01-13 15:13:26 +05:30
1430c1d8c1 dependency: bump github.com/jonboulle/clockwork from 0.4.0 to 0.5.0
Bumping this dependency also require fixing func newFakeClock() to
return a pointer to the struct (*clockwork.FakeClock)

Reference:
- https://github.com/etcd-io/etcd/pull/19131

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2025-01-12 21:20:16 +01:00
bc16650c10 dependency: bump golang.org/x/time from 0.8.0 to 0.9.0
Reference:
- https://github.com/etcd-io/etcd/pull/19129

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2025-01-12 21:19:19 +01:00
d3e4a4e2f2 dependency: bump golang.org/x/net from 0.33.0 to 0.34.0, golang.org/x/sys from 0.28.0 to 0.29.0, and golang.org/x/crypto from 0.31.0 to 0.32.0
These 3 bumps need to be performed together.

Reference:
- https://github.com/etcd-io/etcd/pull/19130
- https://github.com/etcd-io/etcd/pull/19132
- https://github.com/etcd-io/etcd/pull/19133

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2025-01-12 21:19:19 +01:00
9db8dcb44b Merge pull request #19112 from aladesawe/rafthttp-error-messaging
rafthttp: Improve warn message in checkClusterCompatibilityFromHeader
2025-01-10 09:49:01 +00:00
ea50139411 chore: enable use-any rule from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-01-09 22:38:58 +01:00
6277dbecc9 Merge pull request #19126 from callthingsoff/modernize_map_op
all: simplify and clean up
2025-01-09 16:00:01 +00:00
75f2ae1b62 Merge pull request #19139 from joshuazh-x/fix-embed-close-deadlock
Avoid deadlock in etcd.Close when stopping during bootstrapping
2025-01-09 10:50:26 +00:00
f9ce13e7ee Avoid deadlock in etcd.Close when stopping during bootstrapping
Signed-off-by: Joshua Zhang <joshua.x.zhang@gmail.com>
2025-01-09 05:31:35 +00:00
a1a9149bbb Fix typo in typo fix
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-01-08 10:54:00 -08:00
00e5b654a1 Merge pull request #19095 from ahrtr/wal_20241221
Still return continuous WAL entries when running into ErrSliceOutOfRange
2025-01-08 14:14:19 +00:00
2415c826c2 all: simplify and clean up
This patch modernizes the for-range-loop code to copy a map with
"maps.Clone" and "maps.Copy", also eliminates "copyFloats" with
"slices.Clone".

Also simplify "aggSort" and "sortMap" with slices and maps functions.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2025-01-08 21:35:32 +08:00
3ee0d4f2e9 Fix mixVersion test case: ensure a snapshot to be sent out
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-01-07 16:21:56 +00:00
c551be9ef5 dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.57.0 to 0.58.0
This commit will bump dependency go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.57.0 to 0.58.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-01-02 15:44:49 +05:30
05ff6333a9 Rephrase warn messaging
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2024-12-27 21:15:14 -08:00
7577a56c1f Update misleading warn message when versions mismatch
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2024-12-27 09:49:22 -08:00
d76cdc2141 dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.32.0 to 1.33.0
This commit will bump dependency go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.32.0 to 1.33.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-27 15:33:46 +05:30
d0f78d0442 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.24.0 to 2.25.1
This commit will bump dependency github.com/grpc-ecosystem/grpc-gateway/v2 from 2.24.0 to 2.25.1

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-27 15:31:45 +05:30
63ff2e37ed dependency: bump google.golang.org/protobuf from 1.36.0 to 1.36.1
This commit will bump dependency google.golang.org/protobuf from 1.36.0 to 1.36.1

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-27 15:23:38 +05:30
a869bdf8e6 dependency: bump google.golang.org/grpc from 1.69.0 to 1.69.2
This commit will bump dependency google.golang.org/grpc from 1.69.0 to 1.69.2

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-27 15:17:56 +05:30
bf3bb6d8be dependency: bump golang.org/x/net from 0.32.0 to 0.33.0
This commit will bump dependency golang.org/x/net from 0.32.0 to 0.33.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-27 15:01:04 +05:30
e30a4abc75 Merge pull request #19078 from ishan16696/migrate/flagTofeatureGate
migrate `--experimental-txn-mode-write-with-shared-buffer` flag to feature gate.
2024-12-21 19:20:55 +00:00
c73b3d1e8f migrate experimental-txn-mode-write-with-shared-buffer flag to feature gate.
Signed-off-by: ishan16696 <ishan.tyagi@sap.com>
2024-12-21 23:46:11 +05:30
152de1fa7e Still return continuous WAL entries when running into ErrSliceOutOfRange
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-12-21 15:33:14 +00:00
9fa35e53f4 Merge pull request #19080 from ArkaSaha30/deps_mgmt_16_12_24
[2024-12-16] Manual Dependency Bump
2024-12-19 23:34:25 +13:00
9db12c6d02 Merge pull request #19081 from ahrtr/log_migrage_20241218
Add more info in the error message in downgrade detection
2024-12-19 09:41:23 +00:00
ce511f6ce8 dependency: bump google.golang.org/protobuf from 1.35.2 to 1.36.0
This commit will bump dependency google.golang.org/protobuf from 1.35.2 to 1.36.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-19 14:12:22 +05:30
8359b320d1 dependency: bump go.opentelemetry.io/otel from 1.32.0 to 1.33.0
This commit will bump dependency go.opentelemetry.io/otel from 1.32.0 to 1.33.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-19 14:11:12 +05:30
e4d1da73e1 Merge pull request #19077 from srujangit123/remove-nil-checks
backend: Remove logger nil checks
2024-12-19 09:07:30 +01:00
2830237e33 Add more info in the error message in downgrade detection
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-12-18 15:23:12 +00:00
5398519dc9 backend: remove ugly nil checks
To remove the ugly nil checks by instantiating the logger with a no-op logger if it is nil.

Signed-off-by: Srujan Bharadwaj <srujanbharadwaj44@gmail.com>
2024-12-18 03:04:12 +00:00
85363bda32 migrate experimental-compact-hash-check-enabled to feature gate.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-12-17 09:44:53 -08:00
66b09ea353 Merge pull request #19067 from ahrtr/wal_error_20241216
Add more debug info when running into ErrSliceOutOfRange when reading WAL
2024-12-16 13:56:05 +00:00
e7df5bf830 Wait for cluster version to non-default value to remove errors when cluster is bootstrapping.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-12-16 13:27:06 +01:00
9143bef424 Add more debug info when running into ErrSliceOutOfRange when reading WAL
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-12-16 10:36:30 +00:00
e9bc263eec dependency: bump google.golang.org/grpc from 1.68.1 to 1.69.0
This commit will bump dependency google.golang.org/grpc from 1.68.1 to 1.69.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-14 21:32:38 +05:30
16ccfc9537 Remove duplicated <-s.ReadyNotify()
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-12-13 10:44:14 +00:00
026bbecd25 Merge pull request #19048 from ArkaSaha30/deps_mgmt_9_12_24
[2024-12-09] Manual Dependency Bump
2024-12-13 08:01:42 +00:00
93b01af668 Do not wait for ready notify if the server is stopping
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-12-12 21:45:28 +00:00
5c976cfed7 dependency: bump github.com/prometheus/common from 0.60.1 to 0.61.0
This commit will bump dependency github.com/prometheus/common from 0.60.1 to 0.61.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-12 20:34:12 +05:30
cd06ddd03b dependency: bump google.golang.org/grpc from 1.68.0 to 1.68.1
This commit will bump dependency google.golang.org/grpc from 1.68.0 to 1.68.1

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-12 20:34:12 +05:30
bc9239a189 dependency: bump golang.org/x/net from 0.31.0 to 0.32.0
This commit will bump dependency golang.org/x/net from 0.31.0 to 0.32.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-12 20:34:11 +05:30
2c7504fd80 dependency: bump golang.org/x packages
This commit will bump dependency
- golang.org/x/crypto from 0.29.0 to 0.31.0
- golang.org/x/sys from 0.27.0 to 0.28.0
- golang.org/x/text from 0.20.0 to 0.21.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-12-12 20:32:50 +05:30
50e7f9f697 Add a TODO comment for UnsafeDetectSchemaVersion on how to simplify the implementation
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-12-12 14:49:14 +00:00
4bdf0d233e Mark --max-snapshots as deprecated in 3.6 and will be decommissioned in 3.7
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-12-10 12:15:53 +00:00
7bb55966d9 Merge pull request #19006 from ahrtr/v2_deprecation_20241204
Deprecate `--v2-deprecation` and schedule to remove it in 3.8
2024-12-06 14:24:07 +00:00
da807d750f Merge pull request #18973 from mmorel-35/golangci-lint@v1.62.2
fix: enable gosimple linter
2024-12-04 19:51:47 +00:00
a45cc4961e Merge pull request #19003 from deanurag/main-go-1.23.4-update
Bump go toolchain to 1.23.4
2024-12-04 15:38:10 +00:00