-
Notifications
You must be signed in to change notification settings - Fork 286
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
mysql(ticdc): do not check downstream ddl job status when create table #11520
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #11520 +/- ##
================================================
- Coverage 57.4667% 57.4405% -0.0262%
================================================
Files 851 851
Lines 126421 126442 +21
================================================
- Hits 72650 72629 -21
- Misses 48370 48402 +32
- Partials 5401 5411 +10 |
@@ -98,6 +98,12 @@ func (m *DDLSink) waitAsynExecDone(ctx context.Context, ddl *model.DDLEvent) { | |||
return | |||
} | |||
|
|||
switch ddl.Type { | |||
case timodel.ActionCreateTable, timodel.ActionCreateTables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about other DDLs?
@@ -29,7 +29,7 @@ import ( | |||
var checkRunningAddIndexSQL = ` | |||
SELECT JOB_ID, JOB_TYPE, SCHEMA_STATE, SCHEMA_ID, TABLE_ID, STATE, QUERY | |||
FROM information_schema.ddl_jobs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use ADMIN SHOW DDL JOBS
here is a better choice?
What problem does this PR solve?
Issue Number: close #11521
What is changed and how it works?
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note