Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiDB query 语句(drop /alter table) 全卡住了, kill query 也无法结束

We have a TiDB V4.0.16 cluster. Previously, we added an index to a certain table. Because the table is very large, the process of adding the index took a very long time. During this period, I decided I didn’t want to add the index anymore and tried to end the process by pressing Ctrl+C, but it wouldn’t stop. Then I tried to drop the table, but it got stuck. I also tried to drop other tables, but they also got stuck. Is there any way to kill this query?
- Select * from information_schema.cluster_processlist to find the ID.
- Kill tidb query ID;