-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
- start a import task
- dispatcher try move to next step, and save all subtasks into db(add subtask and update task is not in one txn, to handle the case that txn is large and we can add subtasks in batch)
- before dispatcher update task status and step, the task is cancelled
- dispatcher will generate revert subtasks for current step, which is stepInit
- import into didn't have subtask executor for init step, add index too.
[onError] [task-id=1] [error="unknown step -1 for import task 1"]
2. What did you expect to see? (Required)
cancelled
3. What did you see instead (Required)
scheduler keeps reporting error
4. What is your TiDB version? (Required)
master
Metadata
Metadata
Assignees
Labels
affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.