From 86ab7709bc9bd731266ad1baa8a11e556d898320 Mon Sep 17 00:00:00 2001 From: Jason Mo Date: Mon, 30 Jan 2023 16:26:21 +0800 Subject: [PATCH] ddl: unsupport flashback cross alter table attributes --- ddl/cluster.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ddl/cluster.go b/ddl/cluster.go index 74ac8c05ca098..32695ff01b819 100644 --- a/ddl/cluster.go +++ b/ddl/cluster.go @@ -165,7 +165,8 @@ func isFlashbackSupportedDDLAction(action model.ActionType) bool { switch action { case model.ActionSetTiFlashReplica, model.ActionUpdateTiFlashReplicaStatus, model.ActionAlterPlacementPolicy, model.ActionAlterTablePlacement, model.ActionAlterTablePartitionPlacement, model.ActionCreatePlacementPolicy, - model.ActionDropPlacementPolicy, model.ActionModifySchemaDefaultPlacement: + model.ActionDropPlacementPolicy, model.ActionModifySchemaDefaultPlacement, + model.ActionAlterTableAttributes, model.ActionAlterTablePartitionAttributes: return false default: return true