Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dm: add strict optimistic shard mode #9112

Closed
GMHDBJD opened this issue Jun 1, 2023 · 0 comments · Fixed by #9113
Closed

dm: add strict optimistic shard mode #9112

GMHDBJD opened this issue Jun 1, 2023 · 0 comments · Fixed by #9113
Labels
affects-6.5 affects-7.1 area/dm Issues or PRs related to DM. type/feature Issues about a new feature

Comments

@GMHDBJD
Copy link
Contributor

GMHDBJD commented Jun 1, 2023

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 like alter table rename column, return the error immediately.

Describe alternatives you've considered

No response

Teachability, Documentation, Adoption, Migration Strategy

No response

@GMHDBJD GMHDBJD added type/feature Issues about a new feature area/dm Issues or PRs related to DM. labels Jun 1, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jun 13, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jun 20, 2023
GMHDBJD added a commit to ti-chi-bot/tiflow that referenced this issue Jun 26, 2023
ti-chi-bot bot pushed a commit that referenced this issue Aug 16, 2023
ti-chi-bot bot pushed a commit that referenced this issue Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 area/dm Issues or PRs related to DM. type/feature Issues about a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants