Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: ERROR 8214 (HY000): Cancelled DDL job,创建索引被取消
[TiDB Usage Environment] Production Environment
[TiDB Version]
[Reproduction Path]
[Encountered Issues: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]

First, check the logs.
Run admin show ddl jobs
to see the DDL status.
The image you provided is not accessible, and the attachment link appears to be broken or incomplete. Please provide the text content directly for translation.
This return message is the information returned when the admin cancels the DDL operation. Is there an automated script that will cancel DDLs that run for too long?
Thank you for the reminder, I killed the script myself.
You need to restart each TiDB node; it’s not possible to elect a DDL master.
It feels like a manual cancellation action.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.