Skip to content

Commit 9c30af2

Browse files
committed
Standardize help deprecated messages
Signed-off-by: Ivan Valdes <[email protected]>
1 parent eea79ca commit 9c30af2

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

server/etcdmain/help.go

+17-17
Original file line numberDiff line numberDiff line change
@@ -264,77 +264,77 @@ Logging:
264264
265265
Experimental distributed tracing:
266266
--experimental-enable-distributed-tracing 'false'
267-
Enable experimental distributed tracing. Deprecated in v3.6 and will be decommissioned in v3.7. Use --enable-distributed-tracing instead.
267+
Enable experimental distributed tracing. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--enable-distributed-tracing' instead.
268268
--enable-distributed-tracing 'false'
269269
Enable distributed tracing.
270270
--experimental-distributed-tracing-address 'localhost:4317'
271-
Distributed tracing collector address. Deprecated in v3.6 and will be decommissioned in v3.7. Use --distributed-tracing-address instead.
271+
Distributed tracing collector address. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--distributed-tracing-address' instead.
272272
--distributed-tracing-address 'localhost:4317'
273273
Distributed tracing collector address.
274274
--experimental-distributed-tracing-service-name 'etcd'
275-
Distributed tracing service name, must be same across all etcd instances. Deprecated in v3.6 and will be decommissioned in v3.7. Use --distributed-tracing-service-name instead.
275+
Distributed tracing service name, must be same across all etcd instances. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--distributed-tracing-service-name' instead.
276276
--distributed-tracing-service-name 'etcd'
277277
Distributed tracing service name, must be same across all etcd instances.
278278
--experimental-distributed-tracing-instance-id ''
279-
Distributed tracing instance ID, must be unique per each etcd instance. Deprecated in v3.6 and will be decommissioned in v3.7. Use --distributed-tracing-instance-id instead.
279+
Distributed tracing instance ID, must be unique per each etcd instance. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--distributed-tracing-instance-id' instead.
280280
--distributed-tracing-instance-id ''
281281
Distributed tracing instance ID, must be unique per each etcd instance.
282282
--experimental-distributed-tracing-sampling-rate '0'
283-
Number of samples to collect per million spans for distributed tracing. Disabled by default. Deprecated in v3.6 and will be decommissioned in v3.7. Use --distributed-tracing-sampling-rate instead.
283+
Number of samples to collect per million spans for distributed tracing. Disabled by default. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--distributed-tracing-sampling-rate' instead.
284284
--distributed-tracing-sampling-rate '0'
285285
Number of samples to collect per million spans for distributed tracing.
286286
287287
Experimental feature:
288288
--experimental-initial-corrupt-check 'false'
289289
Enable to check data corruption before serving any client/peer traffic. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--feature-gates=InitialCorruptCheck=true' instead.
290290
--experimental-corrupt-check-time '0s'
291-
Duration of time between cluster corruption check passes. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'corrupt-check-time' instead.
291+
Duration of time between cluster corruption check passes. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--corrupt-check-time' instead.
292292
--corrupt-check-time '0s'
293293
Duration of time between cluster corruption check passes.
294-
--experimental-compact-hash-check-enabled 'false'. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--feature-gates=CompactHashCheck=true' instead.
295-
Enable leader to periodically check followers compaction hashes.
294+
--experimental-compact-hash-check-enabled 'false'
295+
Enable leader to periodically check followers compaction hashes. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--feature-gates=CompactHashCheck=true' instead.
296296
--experimental-compact-hash-check-time '1m'
297297
Duration of time between leader checks followers compaction hashes. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--compact-hash-check-time' instead.
298298
--compact-hash-check-time '1m'
299299
Duration of time between leader checks followers compaction hashes.
300300
--experimental-enable-lease-checkpoint 'false'
301301
ExperimentalEnableLeaseCheckpoint enables primary lessor to persist lease remainingTTL to prevent indefinite auto-renewal of long lived leases. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--feature-gates=LeaseCheckpoint=true' instead.
302302
--experimental-compaction-batch-limit 1000
303-
ExperimentalCompactionBatchLimit sets the maximum revisions deleted in each compaction batch. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'compaction-batch-limit' instead.
303+
ExperimentalCompactionBatchLimit sets the maximum revisions deleted in each compaction batch. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--compaction-batch-limit' instead.
304304
--compaction-batch-limit 1000
305305
CompactionBatchLimit sets the maximum revisions deleted in each compaction batch.
306306
--experimental-peer-skip-client-san-verification 'false'
307-
Skip verification of SAN field in client certificate for peer connections. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'peer-skip-client-san-verification' instead.
307+
Skip verification of SAN field in client certificate for peer connections. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--peer-skip-client-san-verification' instead.
308308
--peer-skip-client-san-verification 'false'
309309
Skip verification of SAN field in client certificate for peer connections.
310310
--experimental-watch-progress-notify-interval '10m'
311-
Duration of periodical watch progress notification. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'watch-progress-notify-interval' instead.
311+
Duration of periodical watch progress notification. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--watch-progress-notify-interval' instead.
312312
--watch-progress-notify-interval '10m'
313313
Duration of periodical watch progress notification.
314314
--experimental-warning-apply-duration '100ms'
315-
Warning is generated if requests take more than this duration. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'warning-apply-duration' instead.
315+
Warning is generated if requests take more than this duration. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--warning-apply-duration' instead.
316316
--warning-apply-duration '100ms'
317317
Warning is generated if requests take more than this duration.
318318
--experimental-txn-mode-write-with-shared-buffer 'true'
319319
Enable the write transaction to use a shared buffer in its readonly check operations. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--feature-gates=TxnModeWriteWithSharedBuffer=true' instead.
320320
--experimental-bootstrap-defrag-threshold-megabytes
321-
Enable the defrag during etcd server bootstrap on condition that it will free at least the provided threshold of disk space. Needs to be set to non-zero value to take effect. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'bootstrap-defrag-threshold-megabytes' instead.
321+
Enable the defrag during etcd server bootstrap on condition that it will free at least the provided threshold of disk space. Needs to be set to non-zero value to take effect. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--bootstrap-defrag-threshold-megabytes' instead.
322322
--bootstrap-defrag-threshold-megabytes
323323
Enable the defrag during etcd server bootstrap on condition that it will free at least the provided threshold of disk space. Needs to be set to non-zero value to take effect.
324324
--experimental-warning-unary-request-duration '300ms'
325-
Set time duration after which a warning is generated if a unary request takes more than this duration. It's deprecated, and will be decommissioned in v3.7. Use --warning-unary-request-duration instead.
325+
Set time duration after which a warning is generated if a unary request takes more than this duration. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--warning-unary-request-duration' instead.
326326
--experimental-max-learners '1'
327-
Set the max number of learner members allowed in the cluster membership. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'max-learners' instead.
327+
Set the max number of learner members allowed in the cluster membership. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--max-learners' instead.
328328
--max-learners '1'
329329
Set the max number of learner members allowed in the cluster membership.
330330
--experimental-snapshot-catch-up-entries '5000'
331331
Number of entries for a slow follower to catch up after compacting the raft storage entries.
332332
--experimental-compaction-sleep-interval
333-
Sets the sleep interval between each compaction batch. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'compaction-sleep-interval' instead.
333+
Sets the sleep interval between each compaction batch. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--compaction-sleep-interval' instead.
334334
--compaction-sleep-interval
335335
Sets the sleep interval between each compaction batch.
336336
--experimental-downgrade-check-time
337-
Duration of time between two downgrade status checks. Deprecated in v3.6 and will be decommissioned in v3.7. Use "downgrade-check-time" instead.
337+
Duration of time between two downgrade status checks. Deprecated in v3.6 and will be decommissioned in v3.7. Use '--downgrade-check-time' instead.
338338
--downgrade-check-time
339339
Duration of time between two downgrade status checks.
340340
--experimental-enable-lease-checkpoint-persist 'false'

0 commit comments

Comments
 (0)