DM同步报错,ERROR 1236 (HY000): Could not find GTID state requested by slave in any binlog files.

TIDB 5.4

我现在想重新导入一次,如何把TIDB同步的信息全部清空?


                    "errors": [
                        {
                            "ErrCode": 36069,
                            "ErrClass": "sync-unit",
                            "ErrScope": "upstream",
                            "ErrLevel": "high",
                            "Message": "get binlog event error: ERROR 1236 (HY000): Could not find GTID state requested by slave in any binlog files. Probably the slave state is too old and required binlog files have been purged.",
                            "RawCause": "",
                            "Workaround": "Please check if the binlog file could be parsed by `mysqlbinlog`."
                        }
                    ],
                    "detail": null
                },
  1. stop-task停止任务 2. 清理数据 3.清理元数据dm_meta 4.重新导入后启动任务

请问是加start-task --remove-meta这个参数吗?

这个也可以,只是清理dm_meta库下相关任务的元数据信息,多个任务在这个库下会有多个表

删除元数据库或者修改元数据名称

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。