tidb
tidb copied to clipboard
limit the number of retries when a DDL job error occurs
Please answer these questions before submitting your issue. Thanks!
- What did you do?
- DDL job fails.
- What did you expect to see?
- If the current DDL job fails, it will be retried indefinitely, so we need to limit the number of retries. Avoid error jobs blocking the entire DDL.
-
What did you see instead?
-
What version of TiDB are you using (
tidb-server -Vor runselect tidb_version();on TiDB)?
master branch