Skip to content

Commit eea79ca

Browse files
committed
Properly deprecate ExperimentalInitialCorruptCheck
Signed-off-by: Ivan Valdes <[email protected]>
1 parent fe81901 commit eea79ca

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

server/embed/config.go

+3
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@ type Config struct {
407407
// AuthTokenTTL in seconds of the simple token
408408
AuthTokenTTL uint `json:"auth-token-ttl"`
409409

410+
// ExperimentalInitialCorruptCheck defines to check data corrution on boot.
411+
// TODO: delete in v3.7
412+
// Deprecated: Use InitialCorruptCheck Feature Gate instead. Will be decommissioned in v3.7.
410413
ExperimentalInitialCorruptCheck bool `json:"experimental-initial-corrupt-check"`
411414
// ExperimentalCorruptCheckTime is the duration of time between cluster corruption check passes.
412415
// TODO: delete in v3.7

server/etcdmain/help.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ Experimental distributed tracing:
285285
Number of samples to collect per million spans for distributed tracing.
286286
287287
Experimental feature:
288-
--experimental-initial-corrupt-check 'false'. It's deprecated, and will be decommissioned in v3.7. Use '--feature-gates=InitialCorruptCheck=true' instead.
289-
Enable to check data corruption before serving any client/peer traffic.
288+
--experimental-initial-corrupt-check 'false'
289+
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'
291291
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'

0 commit comments

Comments
 (0)