It mayn't cleanup subtasks after cancel add index with dist-reorg #41371
Labels
feature/developing
the related feature is in development
severity/moderate
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Do
set @@global.tidb_ddl_distribute_reorg = on
.Then, cancel the
add index
operation when checking whether a dist-reorg task is complete.Execute
select count(1) from mysql.tidb_background_subtask
2. What did you expect to see? (Required)
Get 0 row.
3. What did you see instead (Required)
A few rows of rows may be obtained.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: