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

Increase the priority of DDL in bootstrap #7024

Open
zimulala opened this issue Jul 10, 2018 · 0 comments
Open

Increase the priority of DDL in bootstrap #7024

zimulala opened this issue Jul 10, 2018 · 0 comments
Labels
sig/sql-infra SIG: SQL Infra type/enhancement The issue or PR belongs to an enhancement. type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@zimulala
Copy link
Contributor

zimulala commented Jul 10, 2018

We need to execute some DDLs in bootstrap when we do the rolling upgrade.
Now if there are some DDLs doesn't execute before the rolling upgrade,we will execute these DDLs first. If these DDLs have an operation of "add index" and its table have a large number of rows, this will make the progress of bootstrap take a long time if we also have an "add index" in bootstrap.
So we'd better increase the priority of DDL in bootstrap.

Mentor(s)

You can join #sig-ddl on slack in your spare time to discuss and get help with mentors or others.

Recommended Skills

  • DDL
  • Golang

Learning Materials

MySQL's document for syntax reference.
TiDB DDL architecture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/sql-infra SIG: SQL Infra type/enhancement The issue or PR belongs to an enhancement. type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants