Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: DM同步数据报错:“Message”: “[Lightning:Restore:ErrSchemaNotExists]table…schema not found”,
【TiDB Usage Environment】Testing Environment
【TiDB Version】
【Encountered Issues】
tiup dmctl --master-addr 127.0.0.1:8261 start-task task-ailearn-test.yaml
tiup dmctl --master-addr 127.0.0.1:8261 query-status ailearn-test
【Reproduction Path】
【Issue Phenomenon and Impact】
① When the target table structure does not exist, DM will automatically create this table. Error reported: “Message”: “[Lightning:Restore:ErrSchemaNotExists]table ailearn_test
.intell_multi_solution_log
schema not found”.
② After stopping the task, cleaning up the dm-meta database information, and manually creating the table structure, the error still occurs: “Message”: “[Lightning:Restore:ErrSchemaNotExists]table ailearn_test
.intell_multi_solution_log
schema not found”.
【Attachments】
Configuration File:
Logs:
dm-worker_stderr.log (20.6 KB) dm-worker_stderr.log