pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
https://pingcap.com
Apache License 2.0
36.4k stars 5.73k forks source link

ddl: support concurrent ddl #32169

Closed hawkingrei closed 1 year ago

hawkingrei commented 2 years ago

Signed-off-by: Weizhen Wang wangweizhen@pingcap.com Signed-off-by: xiongjiwei xiongjiwei1996@outlook.com Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com

What problem does this PR solve?

Issue Number: ref https://github.com/pingcap/tidb/issues/32031

this is a big PR and we split it into many commits, every commit almost has a single purpose. I will introduce them briefly, you may need to reference the doc https://github.com/pingcap/tidb/pull/33629

What is changed and how it works?

Check List

Tests

Release note

None
ti-chi-bot commented 2 years ago

[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 /cc @reviewer in the comment. After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
sre-bot commented 2 years ago

Please follow PR Title Format:

Or if the count of mainly changed packages are more than 3, use

sre-bot commented 2 years ago

Please follow PR Title Format:

Or if the count of mainly changed packages are more than 3, use

sre-bot commented 2 years ago

Please follow PR Title Format:

Or if the count of mainly changed packages are more than 3, use

hawkingrei commented 2 years ago

just fix the mutex conflict. Now mutex design is too difficult to develop in the DDL. it needs to be improved.

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-all-tests

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

Found a bug about blocking when to create an index.

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-mysql-test

wjhuang2016 commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-all-tests

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-check_dev_2

wjhuang2016 commented 2 years ago

/run-check_dev_2

purelind commented 2 years ago

/run-check_dev_2

wjhuang2016 commented 2 years ago

/run-check_dev_2

hawkingrei commented 2 years ago

/run-all-tests

hawkingrei commented 2 years ago

/run-check_dev

hawkingrei commented 2 years ago

/run-check_dev

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-check_dev_2

hawkingrei commented 2 years ago

/run-check-dev

sre-bot commented 2 years ago

Please follow PR Title Format:

Or if the count of mainly changed packages are more than 3, use

hawkingrei commented 2 years ago

/run-mysql-test

sre-bot commented 2 years ago

Please follow PR Title Format:

Or if the count of mainly changed packages are more than 3, use

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-unit-test

xiongjiwei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-mysql-test

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-check_dev_2

hawkingrei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-unit-test

xiongjiwei commented 2 years ago

/run-unit-test

hawkingrei commented 2 years ago

/run-check_dev_2

xiongjiwei commented 2 years ago

/run-unit-test

xiongjiwei commented 2 years ago

/run-all-tests

xiongjiwei commented 2 years ago

/run-all-tests

xiongjiwei commented 2 years ago

/run-unit-test