TiDB Data Migration Error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb 数据迁移报错

| username: 谢斌1204

v6.2.0
When using the tidb-lightning tool to import data, the import was forcibly interrupted. Upon re-importing, the following error occurred, and the command tidb-lightning-ctl was not found.

[ERROR] [restore.go:456] [“run failed”] [step=2] [error="[Lightning:PreCheck:ErrPreCheckFailed]tidb-lightning pre-check failed: TiDB Lightning has detected tables with illegal checkpoints. To prevent data loss, this run will stop now, please run command "./tidb-lightning-ctl --checkpoint-remove=‘account.acc013t0’ --config=…" You may also run ./tidb-lightning-ctl --checkpoint-error-destroy=all --config=... to start from scratch. For details of this failure, read the log file from the PREVIOUS run.
TiDB Lightning has detected tables with illegal checkpoints. To prevent data loss, this run will stop now, please run command "./tidb-lightning-ctl --checkpoint-remove=‘account.acc015t0’ --config=…" You may also run ./tidb-lightning-ctl --checkpoint-error-destroy=all --config=... to start from scratch. For details of this failure, read the log file from the PREVIOUS run.
TiDB Lightning has detected tables with illegal checkpoints. To prevent data loss, this run will stop now, please run command "./tidb-lightning-ctl --checkpoint-remove=‘account.acc014t0’ --config=…" You may also run ./tidb-lightning-ctl --checkpoint-error-destroy=all --config=... to start from scratch. For details of this failure, read the log file from the PREVIOUS run.
TiDB Lightning has detected tables with illegal checkpoints. To prevent data loss, this run will stop now, please run command.

| username: xiaohetao | Original post link

Looking at the logs, you previously forced an interruption, causing the process to terminate abnormally. Now you are required to execute the check.

| username: xiaohetao | Original post link

Need to delete the previous stuff.

| username: xiaohetao | Original post link

Let it run the check

| username: 谢斌1204 | Original post link

Resuming interrupted transfers, clearing breakpoint data, viewing resumption documentation.