dm: add strict optimistic shard mode #9112
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
area/dm
Issues or PRs related to DM.
type/feature
Issues about a new feature
Is your feature request related to a problem?
For some DDL like
alter table rename column
, we skip all dml and ddl for that shard table until all shard tables meet the same rename column statement in optimistic mode. However, some user use optimistic mode in test environment and want to know the incompatible DDL immediately.Describe the feature you'd like
add a config item
strict-optimistic-shard-mode
, when we meet DDL likealter table rename column
, return the error immediately.Describe alternatives you've considered
No response
Teachability, Documentation, Adoption, Migration Strategy
No response
The text was updated successfully, but these errors were encountered: