Commit Graph

2009 Commits

Author SHA1 Message Date
e2459c0323 Bump grpc-gateway to v2.26.3
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 18:00:03 +00:00
5c147c0144 Merge pull request #19498 from ashikjm/typo-fix
etcdserver: Fixing minor typos in v3election.proto and rpc.proto
2025-02-27 15:47:30 +00:00
ac064e860c Merge pull request #19470 from beforetech/main
refactor: use a more straightforward return value
2025-02-27 13:39:58 +01:00
f5409c4227 etcdserver: Fixing minor typos in v3election.proto and rpc.proto
Signed-off-by: Ashik J M <ashikjm@gmail.com>
2025-02-27 17:50:02 +05:30
a423349c07 Merge pull request #19488 from mmorel-35/golangci-lint/usetesting
chore: use usetesting instead of tenv
2025-02-27 07:50:17 +00:00
d76671ca80 add prometheus metric
Signed-off-by: Gang Li <ganglica@google.com>
Signed-off-by: Gang Li <gangligit@gmail.com>
2025-02-26 10:37:08 -08:00
a8d8c1887f chore: use usetesting instead of tenv
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-02-26 07:54:22 +01:00
5e89197c28 dependency: bump honnef.co/go/tools from 0.5.1 to 0.6.0 and bump golang.org/x/net from 0.34.0 to 0.35.0
Reference:
- https://github.com/etcd-io/etcd/pull/19434
= https://github.com/etcd-io/etcd/pull/19437

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-25 14:01:35 +00:00
f1af8b9e92 dependency: bump github.com/spf13/cobra from 1.8.1 to 1.9.1
Reference:
- https://github.com/etcd-io/etcd/pull/19438

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-25 14:01:35 +00:00
f954f76012 refactor: use a more straightforward return value
Signed-off-by: beforetech <mail@before.tech>
2025-02-23 23:36:06 +08:00
ac7d3e9335 Merge pull request #19451 from fuweid/add-downgrade-status
*: support DowngradeInfo field in maintenence.Status API
2025-02-21 21:02:20 +00:00
49f34c9751 Merge pull request #19340 from aladesawe/server-apply-unexported-return
Rename `applierMembership` to `ApplierMembership` to fix the `unexported-return` lint error
2025-02-20 09:28:54 +00:00
82c371a471 Merge pull request #19341 from aladesawe/server-storage-recorder-unexported-return
Rename `storageRecorder` to `StorageRecorder` to fix `unexported-return` lint error
2025-02-20 09:28:27 +00:00
8575de3bab v3rpc: add DowngradeInfo in status API
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-02-19 17:18:08 -05:00
deb9178089 Merge pull request #19342 from aladesawe/server-alarm-unexported-return
Move interface `AlarmBackend` from `server/etcdserver/api/v3alarm` to `server/storage/schema` to fix the `unexported-return` lint error
2025-02-18 17:58:03 +00:00
e10f01edfe perf: use RLock in Demoted method for read-only access to expiry
Signed-off-by: huangzw <huangzw@2345.com>
2025-02-17 16:09:34 +08:00
e37cdc66c4 Rename applierMembership struct to fix unexported-return
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-02-16 21:35:18 -08:00
6f27da2aee Move AlarmBackend interface to fix unexported-return
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-02-16 21:22:53 -08:00
c0c9f7c344 Create an StorageRecorder interface to fix unexported-return
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-02-16 21:02:19 -08:00
5fa8c1f6b8 Migrate --experimental-set-member-localaddr to using feature flag
Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
2025-02-13 16:02:10 +00:00
de10fd6565 Fix a peformance regression due to uncertain compaction sleep interval
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-13 09:40:04 +00:00
9c30af2ff5 Standardize help deprecated messages
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 16:29:40 -08:00
eea79ca9a5 Properly deprecate ExperimentalInitialCorruptCheck
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 16:14:34 -08:00
fe81901c74 Properly deprecate ExperimentalStopGRPCServiceOnDefrag
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 16:03:07 -08:00
e37615a483 Properly deprecate ExperimentalTxnModeWriteWithSharedBuffer
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 15:57:57 -08:00
8b99f8e025 server/embed: Remove deprecated NewZapCoreLoggerBuilder
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 11:20:50 -08:00
1f4b3cdf52 Fix deprecation comments in server/features
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 10:05:52 -08:00
7ba8929e7b Fix deprecation comments in server/embed
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-12 10:05:03 -08:00
5802231328 migrate experimental-snapshot-catchup-entries flag to snapshot-catchup-entries
Signed-off-by: Ajay Sundar Karuppasamy <ajaysundar@google.com>
2025-02-11 19:17:17 +00:00
a9b8cba602 Migrate experimental distributed tracing flags to non-experimental flags
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-11 15:29:16 +00:00
1ea4f435cc Merge pull request #19381 from henrybear327/dependency/2025_02_10
[2025-02-10] Bump dependency updates identified by dependabot
2025-02-11 07:50:59 +00:00
ad3301099a Merge pull request #19350 from aladesawe/server-wal-version-unexported-return
Migrate WALVersion to fix unexported-return of walVersion
2025-02-10 21:42:13 +00:00
04cce9759b dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.26.0 to 2.26.1, bump google.golang.org/genproto/googleapis/rpc from v0.0.0-20250115164207-1a7da9e5054f to v0.0.0-20250204164813-702378808489, and google.golang.org/protobuf from v1.36.4 to v1.36.5
Reference:
- https://github.com/etcd-io/etcd/pull/19374
- https://github.com/etcd-io/etcd/pull/19380

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
b31311ebb0 dependency: bump golang.org/x/crypto from 0.32.0 to 0.33.0 and bump golang.org/x/text from 0.21.0 to 0.22.0
Reference:
- https://github.com/etcd-io/etcd/pull/19378
- https://github.com/etcd-io/etcd/pull/19379

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
2cffac9916 dependency: bump golang.org/x/time from 0.9.0 to 0.10.0
Reference:
- https://github.com/etcd-io/etcd/pull/19377

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
ab88026649 dependency: bump golang.org/x/sys from 0.29.0 to 0.30.0
Reference:
- https://github.com/etcd-io/etcd/pull/19376

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-10 21:20:45 +00:00
94758c1760 Migrate WALVersion, and reuse in schema.go
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-02-07 17:48:10 -08:00
a3a467bf39 migrate experimental-peer-skip-client-san-verification flag to peer-skip-client-san-verification
Co-authored-by: wodeyoulai <106662970@qq.com>

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-02-07 10:35:03 -08:00
a747fdebbc Merge pull request #19344 from jxustc/fix/etcdutl-key-count
etcdutl: use map to count unique user keys in snapshot status
2025-02-07 15:15:18 +00:00
a090db470b Merge pull request #19356 from siyuanfoundation/lease-checkpoint
migrate experimental-enable-lease-checkpoint and experimental-enable-lease-checkpoint-persist flag to feature gate.
2025-02-07 15:14:40 +00:00
2d377000ff etcdutl: use map to count unique user keys in snapshot status
The new implementation:
- Uses map to track unique keys for accurate counting
- Excludes internal built-in keys from total count
- Improves code maintainability

Although this approach uses additional memory for the map, the trade-off
is acceptable since:
- Status() is not in hot path
- Correctness takes priority over performance optimization
- Simpler code is easier to maintain

Fixes #19253

Signed-off-by: Xiang Ji <johnsmith.jix@gmail.com>
2025-02-07 19:56:06 +08:00
3db34683c9 Merge pull request #19052 from aladesawe/server-auth-unexported-return
server: fix unexported-return lint issue
2025-02-07 07:51:55 +00:00
db05deaf02 server: fix unexported-return using interfaces
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com>
2025-02-06 15:21:20 -08:00
2cd8fcce5d migrate experimental-enable-lease-checkpoint and experimental-enable-lease-checkpoint-persist flag to feature gate.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-02-06 14:31:00 -08:00
e5b39f85a4 migrate experimental-compaction-sleep-interval flag to compaction-sleep-interval
Signed-off-by: Ajay Sundar Karuppasamy <ajaysundar@google.com>
2025-02-06 18:54:32 +00:00
299bca3afa Merge pull request #19328 from ajaysundark/migrate-experimental-downgrade-check-time
migrate experimental-downgrade-checktime to downgrade-checktime
2025-02-06 17:58:37 +00:00
80a8a82bbd migrate experimental-downgrade-check-time to downgrade-check-time
Signed-off-by: Ajay Sundar Karuppasamy <ajaysundar@google.com>
2025-02-06 00:05:04 +00:00
70ef8a549f Bump raft to v3.6.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-05 18:53:09 +00:00
60a83e2330 Bump bbolt to v1.4.0
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-02-05 18:50:37 +00:00
0108677e86 dependency: bump github.com/spf13/pflag from 1.0.5 to 1.0.6
Reference:
- https://github.com/etcd-io/etcd/pull/19321

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-05 14:34:36 +00:00