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
6f27da2aee
Move AlarmBackend interface to fix unexported-return
...
Signed-off-by: adeyemi <adeyemi.aladesawe@gmail.com >
2025-02-16 21:22:53 -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
7f8d40d568
bumping go to version 1.23.6
...
Signed-off-by: Marcel Franca <marcel@marcelfranca.com >
2025-02-04 19:15:39 -03:00
d62cdeee48
Merge pull request #19254 from serathius/align-defaults
...
Align NewConfig with AddFlags defaults
2025-02-04 20:35:18 +01:00
dfbdd8853c
Add learner id into log when being promoted
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2025-02-04 13:10:42 +00:00
3cc3dafded
Merge pull request #19282 from jmao-dd/jmao/19061-migrate-mlock3
...
migrate experimental-memory-mlock flag to memory-mlock
2025-02-03 18:13:18 +00:00
d4173b280d
Merge pull request #18971 from mmorel-35/testifier/server
...
fix: use testify instead of t.Fatal or t.Error in server package (part 1)
2025-02-03 14:54:11 +00:00
0795f6b957
migrate experimental-memory-mlock flag to memory-mlock
...
Signed-off-by: Jiayin Mao <jiayin.mao@datadoghq.com >
2025-02-01 22:57:54 +00:00
d52bceb2f1
Merge pull request #19192 from wodeyoulai/main
...
Correct compaction period comments
2025-01-31 18:45:31 +00:00
3648220e22
incorporate feedback from review
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-01-31 06:44:29 -05:00
c3e4df6de1
Switch from grpc-ecosystem/go-grpc-prometheus to grpc-ecosystem/go-grpc-middleware/providers/prometheus
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2025-01-30 08:43:53 -05:00
93e90721a6
Align NewConfig with AddFlags defaults
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2025-01-30 09:38:14 +01:00
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