为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:TiDB v4.0.8 TiCDC v4.0.8 MySQL8.0.14
- 【问题描述】:TiCDC添加同步任务成功后,mysql始终没有数据,没有任何报错信息
tiup cdc cli changefeed create --pd=http://10.8.114.91:2379 --sink-uri=“mysql://miaoyamin:123123@10.8.4.117:3306/?time-zone=” --changefeed-id=“simple-replication-task” --tz=Asia/Shanghai
Create changefeed successfully!
以下是查询同步状态信息
[root@10-8-4-117 ~]# tiup cdc cli changefeed query --pd=http://10.8.114.91:2379 --changefeed-id=simple-replication-task
Starting component cdc
: cli changefeed query --pd=http://10.8.114.91:2379 --changefeed-id=simple-replication-task
{
“info”: {
“sink-uri”: “mysql://miaoyamin:123123@10.8.4.117:3306/?time-zone=”,
“opts”: {
“_changefeed_id”: “cli-verify”
},
“create-time”: “2020-12-30T14:29:00.244660749+08:00”,
“start-ts”: 421870892538396674,
“target-ts”: 0,
“admin-job-type”: 0,
“sort-engine”: “memory”,
“sort-dir”: “.”,
“config”: {
“case-sensitive”: true,
“enable-old-value”: false,
“force-replicate”: false,
“check-gc-safe-point”: true,
“filter”: {
“rules”: [
“.”
],
“ignore-txn-start-ts”: null,
“ddl-allow-list”: null
},
“mounter”: {
“worker-num”: 16
},
“sink”: {
“dispatchers”: null,
“protocol”: “default”
},
“cyclic-replication”: {
“enable”: false,
“replica-id”: 0,
“filter-replica-ids”: null,
“id-buckets”: 0,
“sync-ddl”: false
},
“scheduler”: {
“type”: “table-number”,
“polling-time”: -1
}
},
“state”: “normal”,
“history”: null,
“error”: null,
“sync-point-enabled”: false,
“sync-point-interval”: 600000000000
},
“status”: {
“resolved-ts”: 421871518145052678,
“checkpoint-ts”: 421871411596623873,
“admin-job-type”: 0
},
“count”: 0,
“task-status”: [
{
“capture-id”: “be4ca1e8-507e-4fd7-8685-edd703b39265”,
“status”: {
“tables”: {
“1088”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1090”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1092”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1094”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1096”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1098”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1100”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1102”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1104”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1106”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1108”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1110”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1112”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1114”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1116”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1118”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1120”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1122”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1124”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1126”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1128”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1130”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1132”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1134”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1136”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1138”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1140”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1142”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1144”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1146”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1148”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1150”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1152”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1154”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1156”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1158”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1160”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1162”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1164”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1166”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1168”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1170”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1172”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1174”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1176”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1178”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1180”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1182”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1184”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1186”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1188”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1190”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1192”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1194”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1196”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1198”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1200”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1202”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1204”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1206”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1208”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1210”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1212”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1214”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1216”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1218”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1220”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1222”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1224”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1226”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1228”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1230”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1232”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1234”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1236”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1238”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1240”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1242”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1244”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1246”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1248”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1257”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1263”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1274”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1280”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1282”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
},
“1284”: {
“start-ts”: 421870892538396674,
“mark-table-id”: 0
}
},
“operation”: null,
“admin-job-type”: 0
}
}
]
}
请问该如何处理?谢谢