Properly deprecate ExperimentalInitialCorruptCheck

Signed-off-by: Ivan Valdes <ivan@vald.es>
This commit is contained in:
Ivan Valdes
2025-02-12 16:11:11 -08:00
parent fe81901c74
commit eea79ca9a5
2 changed files with 5 additions and 2 deletions

View File

@ -407,6 +407,9 @@ type Config struct {
// AuthTokenTTL in seconds of the simple token // AuthTokenTTL in seconds of the simple token
AuthTokenTTL uint `json:"auth-token-ttl"` AuthTokenTTL uint `json:"auth-token-ttl"`
// ExperimentalInitialCorruptCheck defines to check data corrution on boot.
// TODO: delete in v3.7
// Deprecated: Use InitialCorruptCheck Feature Gate instead. Will be decommissioned in v3.7.
ExperimentalInitialCorruptCheck bool `json:"experimental-initial-corrupt-check"` ExperimentalInitialCorruptCheck bool `json:"experimental-initial-corrupt-check"`
// ExperimentalCorruptCheckTime is the duration of time between cluster corruption check passes. // ExperimentalCorruptCheckTime is the duration of time between cluster corruption check passes.
// TODO: delete in v3.7 // TODO: delete in v3.7

View File

@ -285,8 +285,8 @@ Experimental distributed tracing:
Number of samples to collect per million spans for distributed tracing. Number of samples to collect per million spans for distributed tracing.
Experimental feature: Experimental feature:
--experimental-initial-corrupt-check 'false'. It's deprecated, and will be decommissioned in v3.7. Use '--feature-gates=InitialCorruptCheck=true' instead. --experimental-initial-corrupt-check 'false'
Enable to check data corruption before serving any client/peer traffic. 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.
--experimental-corrupt-check-time '0s' --experimental-corrupt-check-time '0s'
Duration of time between cluster corruption check passes. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'corrupt-check-time' instead. Duration of time between cluster corruption check passes. Deprecated in v3.6 and will be decommissioned in v3.7. Use 'corrupt-check-time' instead.
--corrupt-check-time '0s' --corrupt-check-time '0s'