title | summary | category |
---|---|---|
Data Migration Troubleshooting |
Learn how to diagnose and resolve issues when you use Data Migration. |
reference |
This document describes how to troubleshoot TiDB Data Migration to find the problem.
If you encounter errors while running Data Migration, take the following steps to troubleshoot:
-
Execute the
query-status
command to view the task running status and related error output. -
Check the log content related to the error you encountered. The log files are on the DM-master and DM-worker deployment nodes. To get key information about errors, see common errors. Then check error handling to find the corresponding solution.
-
If the error you encountered is not involved yet, and you cannot solve the problem yourself by checking the log or monitoring metrics, you can contact the corresponding sales support staff.
-
After the error is solved, restart the task using dmctl.
resume-task ${task name}
However, you need to reset the data replication task in some cases. For details about when to reset and how to reset, see Reset the data replication task.