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
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
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
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
d62cdeee48
Merge pull request #19254 from serathius/align-defaults
...
Align NewConfig with AddFlags defaults
2025-02-04 20:35:18 +01: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
93e90721a6
Align NewConfig with AddFlags defaults
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2025-01-30 09:38:14 +01:00
27d9978c8e
migrate to use max-learners flag
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-28 17:23:51 -08: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
7f1d3b017b
migrate to use warning-apply-duration flag
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-24 10:23:29 -08: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
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
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
33d65fc90b
TestConfigFileDeprecatedOptions
...
Signed-off-by: Gang Li <gangligit@gmail.com >
2025-01-14 16:26:50 -08:00
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
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
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
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
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
f54c8f55d3
Deprecate --v2-deprecation and schedule to remove it in 3.8
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2024-12-04 14:44:18 +00:00
8bc42d9075
Mark --snapshot-count as deprecated in v3.6 and will be decommissioned in v3.7
...
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com >
2024-12-03 15:02:17 +00:00
3abdf612b3
fix: enable errorlint in server directory
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-26 08:16:47 +02:00
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
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
7b355141d9
Add "server-feature-gates" flag.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-07-18 13:20:30 -07:00
d9cb8b80f5
address the comment
...
Signed-off-by: Ryan Leung <rleungx@gmail.com >
2024-06-12 11:38:41 +08:00
29abd62338
introduce GRPCAdditionalServerOptions
...
Signed-off-by: Ryan Leung <rleungx@gmail.com >
2024-06-07 16:39:35 +08:00
acc9d7c9fe
Support multiple values for allowed client and peer TLS identities
...
Signed-off-by: lhy1024 <admin@liudos.us >
2024-06-06 21:25:17 +08:00
c1f5a445fc
Use Go 1.20 error joining instead of multierr
...
This still allows the errors to be unwrapped, and drops the direct
dependency on multierr.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-05-31 09:22:52 +02:00
4c77726914
Implement flag --experimental-set-member-localaddr
...
Which sets the LocalAddr to an IP address from --initial-advertise-peer-urls.
Also adds e2e test that requires this flag to succeed.
Co-authored-by: HighPon <s.shiraki.business@gmail.com >
Signed-off-by: Edwin Xie <edwin.xie@broadcom.com >
2024-05-24 18:17:37 +00:00
769500124f
embed: fix typo in comment
...
Signed-off-by: Shim Myeongseob <Mangsby716@gmail.com >
2024-05-19 13:59:25 +00:00
b31f23e113
config: support AllowedCN and AllowedHostname through config file
...
Allow setting AllowedCN and AllowedHostname tls fields through config file for peer transport security.
Signed-off-by: Seena Fallah <seenafallah@gmail.com >
2024-05-07 22:39:16 +02:00
a2bf8d7e80
server/config: address golangci var-naming issues
...
Addresses issues in V2 Deprecation constant names.
Signed-off-by: Ivan Valdes <ivan@vald.es >
2024-04-22 17:12:15 -07:00
2e5188f618
server/embed: address golangci var-naming issues
...
Addresses issues in ListenPeerUrls, ListenClientUrls,
ListenClientHttpUrls, AdvertisePeerUrls, AdvertiseClientUrls.
Signed-off-by: Ivan Valdes <ivan@vald.es >
2024-04-18 08:30:39 -06:00
0a1bc1208f
server/embed: address golangci var-naming issues
...
Addresses issues in TLSMinVersion, TLSMaxVersion, WALDir, and
MaxWALFiles.
Signed-off-by: Ivan Valdes <ivan@vald.es >
2024-04-17 16:33:28 -06:00
cf66d0f64f
etcdserver: updated pre-vote flag description
...
To better communicate what the pre-vote phase in Raft is.
Signed-off-by: Fube <fubeitch@gmail.com >
2024-04-12 17:14:19 -04:00
931687f87e
fix Struct Config has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
...
Signed-off-by: devincd <505259926@qq.com >
2024-01-09 17:42:59 +08:00
ea035471ce
online defrag notifies gRPC health server to expose NOT_SERVING status
...
Signed-off-by: Chao Chen <chaochn@amazon.com >
2023-10-25 08:58:33 -07:00
c1fb2c2316
Use default embed config in e2e tests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-10-05 14:17:45 +02:00
e31de5e3c1
Revert "etcd server shouldn't wait for the ready notification infinitely on startup"
...
This reverts commit 1713dc67b5
.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-10-03 21:37:18 +02:00
50fb919318
Make AddEmbedFlags functon a method on embed.Config
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-10-02 13:53:38 +02:00
4704a5af3a
*: fix unused issue
...
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2023-09-25 19:37:18 +08:00
aa97484166
*: enable goimports in verify-lint
...
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2023-09-21 21:14:09 +08:00
a7344da7d3
server: default value for config file field auto-compaction-mode is now 'periodic'; added additional checks if auto-compaction-mode is undefined
...
Signed-off-by: AngstyDuck <solsticedante@gmail.com >
2023-05-09 23:10:44 +08:00
bf12179a5a
server: Add --listen-client-http-urls flag to allow running grpc server separate from http server
...
Difference in load configuration for watch delay tests show how huge the
impact is. Even with random write scheduler grpc under http
server can only handle 500 KB with 2 seconds delay. On the other hand,
separate grpc server easily hits 10, 100 or even 1000 MB within 100 miliseconds.
Priority write scheduler that was used in most previous releases
is far worse than random one.
Tests configured to only 5 MB to avoid flakes and taking too long to fill
etcd.
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2023-03-30 09:49:45 +02:00