Skip to content

Commit 12b34fe

Browse files
committed
update
1 parent 027c920 commit 12b34fe

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

server/embed/config_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ func TestConfigFileFeatureGates(t *testing.T) {
115115
experimentalStopGRPCServiceOnDefrag: "false",
116116
expectErr: true,
117117
},
118+
{
119+
name: "cannot set both experimental flag and feature gate flag for InitialCorruptCheck",
120+
serverFeatureGatesJSON: "InitialCorruptCheck=true",
121+
experimentalInitialCorruptCheck: "false",
122+
expectErr: true,
123+
},
118124
{
119125
name: "ok to set different experimental flag and feature gate flag",
120126
serverFeatureGatesJSON: "DistributedTracing=true",

server/etcdmain/help.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Experimental distributed tracing:
273273
Number of samples to collect per million spans for distributed tracing. Disabled by default.
274274
275275
Experimental feature:
276-
--experimental-initial-corrupt-check 'false',It's deprecated, and will be decommissioned in v3.7. Use '--feature-gates=InitialCorruptCheck=true' instead.
276+
--experimental-initial-corrupt-check 'false'.It's deprecated, and will be decommissioned in v3.7. Use '--feature-gates=InitialCorruptCheck=true' instead.
277277
Enable to check data corruption before serving any client/peer traffic.
278278
--experimental-corrupt-check-time '0s'
279279
Duration of time between cluster corruption check passes.

0 commit comments

Comments
 (0)