From 3a55d9c5529c76bea9bea269948553fecb5a3d95 Mon Sep 17 00:00:00 2001 From: tangenta Date: Mon, 11 May 2020 15:53:57 +0800 Subject: [PATCH] remove auto_random option --- pkg/task/restore.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/task/restore.go b/pkg/task/restore.go index eb624565e..55feb99d9 100644 --- a/pkg/task/restore.go +++ b/pkg/task/restore.go @@ -593,8 +593,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)