037de81526
Merge pull request #19298 from gangli113/experimentalFlag
...
migrate to use max-learners flag
2025-01-29 18:58:36 +00:00
d5b5679c46
Merge pull request #19293 from henrybear327/dependency/25_01_28
...
[2025-01-28] Bump dependency updates identified by dependabot
2025-01-29 16:40:16 +00:00
614640f1c2
format all prometheus metrics to ensure nice indent
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-29 13:42:14 +00:00
27d9978c8e
migrate to use max-learners flag
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-28 17:23:51 -08:00
ff76d1800a
dependency: bump github.com/prometheus/common from 0.61.0 to 0.62.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/19283
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com >
2025-01-28 16:40:58 +00:00
c5544044b3
dependency: bump google.golang.org/grpc from 1.69.4 to 1.70.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/19284
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com >
2025-01-28 16:40:58 +00:00
70c2e17031
dependency: bump google.golang.org/protobuf from 1.36.3 to 1.36.4
...
Reference:
- https://github.com/etcd-io/etcd/pull/19287
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com >
2025-01-28 16:40:58 +00:00
60e8485b48
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.25.1 to 2.26.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/19288
- https://github.com/etcd-io/etcd/pull/19285
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com >
2025-01-28 16:40:35 +00:00
7b4b96d1dc
Update unit test to verify WAL versions
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-27 09:52:13 +00:00
d741e69263
Update MinimalEtcdVersion to read DowngradeVersionTest.Ver as WAL version
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-27 09:52:13 +00:00
1036e4e7e5
Update etcdserve apply workflow to process DowngradeVersionTestRequest
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-27 09:52:13 +00:00
267020e940
migrate to use bootstrap-defrag-threshold-megabytes flag
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-24 13:21:48 -08:00
2ee7e34cbc
Merge pull request #19264 from gangli113/experimentalFlag
...
migrate to use warning-apply-duration flag
2025-01-24 19:21:17 +00:00
7f1d3b017b
migrate to use warning-apply-duration flag
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-24 10:23:29 -08:00
3e5e79dea0
Remove the code of checking ClusterVersionSet in MinimalEtcdVersion
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-24 14:23:53 +00:00
b16b8dc6f3
migrate flag experimental-watch-progress-notify-interval to use watch-progress-notify-interval ( #19248 )
...
migrate flag experimental-watch-progress-notify-interval to use watch-progress-notify-interval
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-23 21:08:30 +00:00
32cfd45182
Merge pull request #19232 from mmorel-35/gomodguard/jwt/v5
...
build(deps): bump github.com/golang-jwt/jwt from v4 to v5
2025-01-23 16:29:39 +00:00
f330406bff
refactor the error handler
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-22 17:35:29 +00:00
43431bd6f8
Merge pull request #19221 from ahrtr/race-20250117
...
Fix race condition (also a regression of the PR 19139)
2025-01-22 14:44:21 +00:00
c9045d650e
Merge pull request #19086 from gojoy/readyz-learner
...
etcdserver: add learner check to readyz
2025-01-22 11:05:42 +01:00
8c1547bc59
Merge pull request #19247 from serathius/match-defaults
...
Add tests for NewConfig matching AddFlags defaults
2025-01-22 10:55:33 +01:00
989c556645
etcdserver: add learner check to readyz
...
Signed-off-by: GitHub <noreply@github.com >
2025-01-22 02:12:44 +00:00
1106969a48
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.58.0 to 0.59.0
...
Reference:
- https://github.com/etcd-io/etcd/pull/19235
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com >
2025-01-21 20:38:33 +00:00
7166571b57
dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.33.0 to 1.34.0, and other related ones
...
Also bumped:
- go.opentelemetry.io/otel from v1.33.0 to v1.34.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace from v1.33.0 to v1.34.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from v1.33.0 to v1.34.0
- go.opentelemetry.io/otel/metric from v1.33.0 to v1.34.0
- go.opentelemetry.io/otel/sdk from v1.33.0 to v1.34.0
- go.opentelemetry.io/otel/trace from v1.33.0 to v1.34.0
- google.golang.org/genproto/googleapis/api from v0.0.0-20250102185135-69823020774d to v0.0.0-20250115164207-1a7da9e5054f
- google.golang.org/genproto/googleapis/rpc from v0.0.0-20250102185135-69823020774d to v0.0.0-20250115164207-1a7da9e5054f
Reference:
- https://github.com/etcd-io/etcd/pull/19234
- https://github.com/etcd-io/etcd/pull/19236
- https://github.com/etcd-io/etcd/pull/19237
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com >
2025-01-21 20:37:43 +00:00
dd1d3ad435
dependency: bump google.golang.org/protobuf from 1.36.2 to 1.36.3
...
Reference:
- https://github.com/etcd-io/etcd/pull/19227
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com >
2025-01-21 20:37:32 +00:00
6ddc4a2861
Add tests for NewConfig matching AddFlags defaults
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2025-01-21 17:39:51 +01:00
201568ac45
add commment to clarify the etcd shutting down workflow
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-21 15:46:15 +00:00
86a31702c4
Ensure all goroutines created by StartEtcd to complete before closing the errc
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-21 10:52:35 +00:00
3527b3b224
Enhance method (*serveCtx) serve to wait for all goroutines to complete before it returns
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-21 10:52:35 +00:00
52061becca
build(deps): bump github.com/golang-jwt/jwt from v4 to v5
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com >
2025-01-20 11:42:40 +00:00
83cf7bb4fc
Merge pull request #19188 from fuweid/fix-19179
...
mvcc: restore tombstone index if it's first revision
2025-01-20 09:18:24 +00:00
d8b4192574
mvcc: restore tombstone index if it's first revision
...
The tombstone could be the only one available revision in database.
It happens when all historical revisions have been deleted in previous
compactions. Since tombstone revision is still in database, we should
restore it as valid key index. Otherwise, we lost that event.
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2025-01-19 18:12:25 -05:00
88b39386b4
Merge pull request #19152 from mmorel-35/revive/superfluous-else
...
chore: enable early-return and superfluous-else from revive
2025-01-19 08:49:14 +00:00
7da675a327
docs: correct compaction period comments for 24-hour window
...
Update compaction period logic in periodic compactor to consistently
use 24-hour intervals instead of 1-hour. This fixes incorrect time
calculations where:
- Compaction period now correctly uses 24-hour instead of 1-hour
- Revision recording interval updated to 144-minute (1/10 of 24-hour)
instead of 6-minute
- Retry interval on compaction failure adjusted to 144-minute to
match the new period
This ensures consistent time-based compaction behavior for 24-hour
windows as originally intended.
Fixes #[issue-19017]
Signed-off-by: wodeyoulai <106662970@qq.com >
2025-01-18 17:39:30 +08:00
10d7cea552
chore: enable early-return and superfluous-else from revive
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Iván Valdés Castillo <iv@nvald.es >
2025-01-18 09:44:58 +01:00
831fa7a38e
Merge pull request #19198 from callthingsoff/reuse_addr_in_TCPProxy_Run
...
server/proxy/tcpproxy: reuse addr in TCPProxy.Run
2025-01-18 08:44:26 +00:00
74ffe2e783
etcd: update golang toolchain to 1.23.5
...
Signed-off-by: ajaysundar.k <ajaysundar.k@gmail.com >
2025-01-18 00:08:48 +00:00
b4e9d81fdd
Merge pull request #19209 from henrybear327/dependencies/25_01_16
...
[2025-01-16] Bump dependency updates identified by dependabot
2025-01-17 18:22:43 +00:00
9da01a8275
Merge pull request #19196 from gangli113/main
...
migrate flag experimental-compaction-batch-limit to use compaction-batch-limit
2025-01-17 07:43:22 +00:00
b33855055a
dependency: bump go.opentelemetry.io/proto/otlp from 1.4.0 to 1.5.0, google.golang.org/genproto/googleapis/api from v0.0.0-20241219192143-6b3ec007d9bb to v0.0.0-20250102185135-69823020774d, and google.golang.org/genproto/googleapis/rpc from v0.0.0-20241219192143-6b3ec007d9bb to v0.0.0-20250102185135-69823020774d
...
Reference:
- https://github.com/etcd-io/etcd/pull/19182
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com >
2025-01-16 22:27:52 +01:00
ca1b6560ff
dependency: bump google.golang.org/protobuf from 1.36.1 to 1.36.2
...
Reference:
- https://github.com/etcd-io/etcd/pull/19184
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com >
2025-01-16 22:27:52 +01:00
9b30e122e5
dependency: bump google.golang.org/grpc from 1.69.2 to 1.69.4
...
Reference:
- https://github.com/etcd-io/etcd/pull/19185
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com >
2025-01-16 22:27:52 +01:00
1ef973c27e
fix lint error
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-15 15:10:12 -08:00
92673d196c
Merge pull request #19200 from ahrtr/cluster_20250115
...
Minor refactor on RaftCluster.Recover()
2025-01-15 21:35:40 +00:00
2dbb689433
Merge pull request #19120 from mmorel-35/golangci-lint/revive/use-any
...
chore: enable use-any rule from revive
2025-01-16 08:25:00 +13:00
8d0f165fd5
Minor refactor on RaftCluster.Recover()
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-01-15 16:26:47 +00:00
88a1bc3170
server/proxy/tcpproxy: reuse addr in TCPProxy.Run
...
"addr" is the result of net.JoinHostPort which supports IPv6 address.
Rather than ranging "tp.Endpoints" again, it's better to reuse
"addr" in the first loop to collect "eps".
See #7942 and #7943 for context.
Signed-off-by: Jes Cok <xigua67damn@gmail.com >
2025-01-15 22:08:23 +08:00
33d65fc90b
TestConfigFileDeprecatedOptions
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-14 16:26:50 -08:00
c3fb7954ee
fix: use testify instead of t.Fatal or t.Error in server package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-14 08:12:46 +01:00
c6f817eb66
add experimental-corrupt-check-time into testcase TestConfigFileDeprecatedOptions
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-13 12:04:39 -08:00