diff --git a/docs/api-references/docs.md b/docs/api-references/docs.md
index 6df216cd8f..c331cc2ac5 100644
--- a/docs/api-references/docs.md
+++ b/docs/api-references/docs.md
@@ -3680,7 +3680,8 @@ bool
(Optional)
Whether enable the syntax like auto_random(3) on the primary key column.
-imported from TiDB v3.1.0
+Imported from TiDB v3.1.0.
+Deprecated in TiDB v4.0.3, please check detail in https://docs.pingcap.com/tidb/dev/release-4.0.3#improvements.
|
diff --git a/pkg/apis/pingcap/v1alpha1/openapi_generated.go b/pkg/apis/pingcap/v1alpha1/openapi_generated.go
index 588d5ac31c..1efdd242b8 100644
--- a/pkg/apis/pingcap/v1alpha1/openapi_generated.go
+++ b/pkg/apis/pingcap/v1alpha1/openapi_generated.go
@@ -1417,7 +1417,7 @@ func schema_pkg_apis_pingcap_v1alpha1_Experimental(ref common.ReferenceCallback)
Properties: map[string]spec.Schema{
"allow-auto-random": {
SchemaProps: spec.SchemaProps{
- Description: "Whether enable the syntax like `auto_random(3)` on the primary key column. imported from TiDB v3.1.0",
+ Description: "Whether enable the syntax like `auto_random(3)` on the primary key column. Imported from TiDB v3.1.0. Deprecated in TiDB v4.0.3, please check detail in https://docs.pingcap.com/tidb/dev/release-4.0.3#improvements.",
Type: []string{"boolean"},
Format: "",
},
diff --git a/pkg/apis/pingcap/v1alpha1/tidb_config.go b/pkg/apis/pingcap/v1alpha1/tidb_config.go
index 13678fc73d..b97c3acb65 100644
--- a/pkg/apis/pingcap/v1alpha1/tidb_config.go
+++ b/pkg/apis/pingcap/v1alpha1/tidb_config.go
@@ -530,7 +530,8 @@ type IsolationRead struct {
// +k8s:openapi-gen=true
type Experimental struct {
// Whether enable the syntax like `auto_random(3)` on the primary key column.
- // imported from TiDB v3.1.0
+ // Imported from TiDB v3.1.0.
+ // Deprecated in TiDB v4.0.3, please check detail in https://docs.pingcap.com/tidb/dev/release-4.0.3#improvements.
// +optional
AllowAutoRandom *bool `toml:"allow-auto-random,omitempty" json:"allow-auto-random,omitempty"`
// Whether enable creating expression index.