ddl: forbid disabling concurrent DDL if MDL is enabled#39301
ddl: forbid disabling concurrent DDL if MDL is enabled#39301ti-chi-bot merged 7 commits intopingcap:masterfrom
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/run-unit-test |
|
/run-check_dev |
| } | ||
|
|
||
| if variable.EnableMDL.Load() && !toConcurrentDDL { | ||
| return errors.New("can not disable concurrent ddl when metadata lock is enabled") |
There was a problem hiding this comment.
Do we have a place to collect all error msg?
There was a problem hiding this comment.
For standard error with the error code, yes. For these misc errors, no.
There was a problem hiding this comment.
It is better to have an error code for each TiDB specific feature.
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 6e22f76 |
TiDB MergeCI notify✅ Well Done! New fixed [1] after this pr merged.
|
Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com
What problem does this PR solve?
Issue Number: close #39131
forbid disabling concurrent DDL if MDL is enabled
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.