Increase the priority of DDL in bootstrap #7024
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.
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
Learning Materials
MySQL's document for syntax reference.
TiDB DDL architecture
The text was updated successfully, but these errors were encountered: