diff --git a/pkg/task/restore.go b/pkg/task/restore.go index fd9be0b7d..f53765c0f 100644 --- a/pkg/task/restore.go +++ b/pkg/task/restore.go @@ -551,8 +551,6 @@ func enableTiDBConfig() { // and we can handle alter drop pk/add pk DDLs with no impact conf.AlterPrimaryKey = true - // set this to true for some auto random DDL execute normally during incremental restore - conf.Experimental.AllowAutoRandom = true conf.Experimental.AllowsExpressionIndex = true config.StoreGlobalConfig(conf)