add index task rollingback after inject ddl owner network partition #49556
Labels
affects-7.5
This bug affects the 7.5.x(LTS) versions.
component/ddl
This issue is related to DDL of TiDB.
severity/major
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)
1、tidb_enable_dist_task='off'
2、add index
3、inject ddl owner network partition
2. What did you expect to see? (Required)
add index can success
3. What did you see instead (Required)
add index task rollingback
the status of ddl job is not synced or running (now: 2023-12-13 11:43:05, jobId: 604, job type: add index /* txn-merge /, state: rollingback)
operatorLogs:
[2023-12-13 11:29:04] ###### start adding index
alter table sbtest1 add index index_test_1702438144925 (c)
[2023-12-13 11:29:04] ###### wait for ddl job finish
[2023-12-13 11:43:05] ###### wait for ddl job to finish failed
select job_id, job_type, state from information_schema.ddl_jobs where query = 'alter table sbtest1 add index index_test_1702438144925 (c)'
jobId: 604, job type: add index / txn-merge */, state: rollingback
from tangenta
[global:2]execution result undetermined
4. What is your TiDB version? (Required)
v7.1.3
git hash:e091ee57040e27b70cac6a29b4e59f3b3162021e
The text was updated successfully, but these errors were encountered: