Comments (5)
as described "only support to handle ddl error", handle-error can't skip transaction. Skipping transaction will cause data loss so we don't plan to do it.
from dm.
so, what can i do to solve error?
from dm.
» query-status gamelab01-task01
{
"result": true,
"msg": "",
"sources": [
{
"result": true,
"msg": "",
"sourceStatus": {
"source": "gamelab01",
"worker": "worker2",
"result": null,
"relayStatus": null
},
"subTaskStatus": [
{
"name": "gamelab01-task01",
"stage": "Paused",
"unit": "Sync",
"result": {
"isCanceled": false,
"errors": [
{
"ErrCode": 36027,
"ErrClass": "sync-unit",
"ErrScope": "internal",
"ErrLevel": "high",
"Message": "startLocation: [position: (, 0), gtid-set: ], endLocation: [position: (mysql-bin.000009, 299330026), gtid-set: 915a5f85-8fd9-4820-b112-2d296273ece1:1-806952,9c656ea1-9999-11ea-9641-74867af4110d:1]: gen insert sqls failed, schema: gamelab, table: g_orders: Column count doesn't match value count: 30 (columns) vs 31 (values)",
"RawCause": "",
"Workaround": "Please check the log files to see if a related DDL has been skipped, and you could use `operate-schema` to get and set the table structure."
}
],
"detail": null
},
"unresolvedDDLLockID": "",
"sync": {
"totalEvents": "0",
"totalTps": "0",
"recentTps": "0",
"masterBinlog": "(mysql-bin.000009, 299760347)",
"masterBinlogGtid": "915a5f85-8fd9-4820-b112-2d296273ece1:1-807832,9c656ea1-9999-11ea-9641-74867af4110d:1",
"syncerBinlog": "(mysql-bin.000009, 299329480)",
"syncerBinlogGtid": "915a5f85-8fd9-4820-b112-2d296273ece1:1-806951,9c656ea1-9999-11ea-9641-74867af4110d:1",
"blockingDDLs": [
],
"unresolvedGroups": [
],
"synced": false,
"binlogType": "remote"
}
}
]
}
]
}
i want to skip this error,because tidb g_orders table structure is the same as mysql
from dm.
as said in message, “you could use operate-schema
to get and set the table structure”
from dm.
thanks , i issue operate-schema set -s gamelab01 gamelab01-task01 -d gamelab -t g_orders g_orders.sql
to modify dm internal table structure, then the dm syncer is running again now
from dm.
Related Issues (20)
- feature: pause/resume/stop (sub)tasks related to a upstream source in batch mode HOT 1
- remove useless config `disable-detect`
- The event can be logged when using binlog filter HOT 3
- follow the package move of parser
- Worker should not offline when enable relay failed
- mysql source worker %s has already started with source %s, but get a request with source %s HOT 2
- Add command to start-relay and stop-relay for all sources
- speed up operate-source show HOT 1
- DM failed to start an incremental task HOT 3
- relay: refactor dm-worker relay logic
- Add reader interface to relay module to unify local/grpc entry
- dm-worker lost online-ddl configuration after upgrade HOT 4
- tiup dm and ssl HOT 3
- handle the upgrading problem of removing `disable-detect`
- make `start-relay` easier to use HOT 5
- dm mariadb binlog parse timestamp panic HOT 4
- DM is unavailable when create view on source mysql HOT 1
- why dm must save table structure info in cache? HOT 2
- restoring count greater than total count HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dm.