Skip to content

Commit

Permalink
ddl: unsupport flashback cluster cross alter table attributes (#40862)
Browse files Browse the repository at this point in the history
close #40861
  • Loading branch information
Defined2014 authored Jan 30, 2023
1 parent 01f4fea commit 11839ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ddl/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11839ac

Please sign in to comment.