TiCDC Synchronization Error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: ticdc 同步报错

| username: blaine

【TiDB Environment】Production Environment
【TiDB Version】6.1.0
【Encountered Issue】The source TiDB 5.3.0 is synchronized to 6.1.0 via TiCDC. The synchronization task is established, but the target keeps reporting errors.
【Reproduction Path】
【Issue Phenomenon and Impact】
[2022/08/27 14:33:07.951 +08:00] [ERROR] [session.go:721] [“assertion failed”] [conn=633048217743437079] [message=“[tikv:8141]assertion failed: key: 7480000000000007695f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2eff0e2a0e2b0e2c0e29ff0e300e300e2d0e2cff0e2d0e2f0e2c0e2eff0e2e000000000000f9, assertion: Exist, start_ts: 435573748162101255, existing start ts: 0, existing commit ts: 0”] [“mvcc history”=“{"key":"7480000000000007695F698000000000000001010E2D0E290E290E2AFF0F640E8B10510EC1FF0E330F5B0E8B0EB9FF0E4A1002105E0E30FF0E2A0E320E2E0E2EFF0E2A0E2B0E2C0E29FF0E300E300E2D0E2CFF0E2D0E2F0E2C0E2EFF0E2E000000000000F9","mvcc":{"info":{"writes":[{"type":3,"start_ts":435573742696398855,"commit_ts":435573742696398855}]}},"regionID":425126}”]
[2022/08/27 14:33:07.951 +08:00] [WARN] [session.go:881] [“can not retry txn”] [conn=633048217743437079] [label=general] [error=“[tikv:8141]assertion failed: key: 7480000000000007695f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2eff0e2a0e2b0e2c0e29ff0e300e300e2d0e2cff0e2d0e2f0e2c0e2eff0e2e000000000000f9, assertion: Exist, start_ts: 435573748162101255, existing start ts: 0, existing commit ts: 0”] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true]
[2022/08/27 14:33:07.951 +08:00] [WARN] [session.go:897] [“commit failed”] [conn=633048217743437079] [“finished txn”=“Txn{state=invalid}”] [error=“[tikv:8141]assertion failed: key: 7480000000000007695f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2eff0e2a0e2b0e2c0e29ff0e300e300e2d0e2cff0e2d0e2f0e2c0e2eff0e2e000000000000f9, assertion: Exist, start_ts: 435573748162101255, existing start ts: 0, existing commit ts: 0”]
[2022/08/27 14:33:07.951 +08:00] [WARN] [session.go:1941] [“run statement failed”] [conn=633048217743437079] [schemaVersion=889] [error=“previous statement: REPLACE INTO activity_flow_clean.newgamesgcp(id,md5,site_id,member_id,venue_id,venue_bill_no,bet_amount,net_amount,valid_bet_amount,bet_time,settle_time,flag,created_at,updated_at) VALUES (4228667934687145998,_binary’4001newgamesgcp220821301827168’,4001,292358,3,_binary’220821301827168’,‘311.0000’,‘-311.0000’,‘311.0000’,_binary’2022-08-27T13:23:04+08:00’,_binary’2022-08-27T13:23:04+08:00’,1,‘2022-08-27 13:24:10’,‘2022-08-27 13:24:10’),(4228667934853607502,_binary’4001newgamesgcp220821301827286’,4001,82145487,3,_binary’220821301827286’,‘101.0000’,‘-101.0000’,‘101.0000’,_binary’2022-08-27T13:24:04+08:00’,_binary’2022-08-27T13:24:04+08:00’,1,‘2022-08-27 13:24:10’,‘2022-08-27 13:24:10’): [tikv:8141]assertion failed: key: 7480000000000007695f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2eff0e2a0e2b0e2c0e29ff0e300e300e2d0e2cff0e2d0e2f0e2c0e2eff0e2e000000000000f9, assertion: Exist, start_ts: 435573748162101255, existing start ts: 0, existing commit ts: 0”] [session=“{
"currDBName": "",
"id": 633048217743437079,
"status": 2,
"strictMode": true,
"user": {
"Username": "dba_tools",
"Hostname": "10.10.11.109",
"CurrentUser": false,
"AuthUsername": "dba_tools",
"AuthHostname": "10.%"
}
}”]
[2022/08/27 14:33:07.951 +08:00] [INFO] [conn.go:1149] [“command dispatched failed”] [conn=633048217743437079] [connInfo=“id:633048217743437079, addr:10.10.11.109:60563 status:10, collation:utf8mb4_general_ci, user:dba_tools”] [command=Query] [status=“inTxn:0, autocommit:1”] [sql=COMMIT] [txn_mode=OPTIMISTIC] [timestamp=435573748162101255] [err=“[tikv:8141]assertion failed: key: 7480000000000007695f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2eff0e2a0e2b0e2c0e29ff0e300e300e2d0e2cff0e2d0e2f0e2c0e2eff0e2e000000000000f9, assertion: Exist, start_ts: 435573748162101255, existing start ts: 0, existing commit ts: 0
github.com/pingcap/errors.AddStack
\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/errors.go:174
github.com/pingcap/errors.(*Error).GenWithStackByArgs
\t/go/pkg/mod/github.com/pingcap/errors@v0.11.5-0.20211224045212-9687c2b0f87c/normalize.go:164
github.com/pingcap/tidb/session.(*session).handleAssertionFailure
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:679
github.com/pingcap/tidb/session.(*session).doCommit
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:622
github.com/pingcap/tidb/session.(*session).doCommitWithRetry
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:861
github.com/pingcap/tidb/session.(*session).CommitTxn
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:927
github.com/pingcap/tidb/session.autoCommitAfterStmt
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/tidb.go:280
github.com/pingcap/tidb/session.finishStmt
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/tidb.go:246
github.com/pingcap/tidb/session.runStmt
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:2080
github.com/pingcap/tidb/session.(*session).ExecuteStmt
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:1938
github.com/pingcap/tidb/server.(*TiDBContext).ExecuteStmt
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/driver_tidb.go:230
github.com/pingcap/tidb/server.(*clientConn).handleStmt
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/conn.go:2022
github.com/pingcap/tidb/server.(*clientConn).handleQuery
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/conn.go:1876
github.com/pingcap/tidb/server.(*clientConn).dispatch
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/conn.go:1371
github.com/pingcap/tidb/server.(*clientConn).Run
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/conn.go:1121
github.com/pingcap/tidb/server.(*Server).onConn
\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/server/server.go:559
runtime.goexit
\t/usr/local/go/src/runtime/asm_amd64.s:1571
previous statement: REPLACE INTO activity_flow_clean.newgamesgcp(id,md5,site_id,member_id,venue_id,venue_bill_no,bet_amount,net_amount,valid_bet_amount,bet_time,settle_time,flag,created_at,updated_at) VALUES (4228667934687145998,_binary’4001newgamesgcp220821301827168’,4001,292358,3,_binary’220821301827168’,‘311.0000’,‘-311.0000’,‘311.0000’,_binary’2022-08-27T13:23:04+08:00’,_binary’2022-08-27T13:23:04+08:00’,1,‘2022-08-27 13:24:10’,‘2022-08-27 13:24:10’),(4228667934853607502,_binary’4001newgamesgcp220821301827286’,4001,82145487,3,_binary’220821301827286’,‘101.0000’,‘-101.0000’,‘101.0000’,_binary’2022-08-27T13:24:04+08:00’,_binary’2022-08-27T13:24:04+08:00’,1,‘2022-08-27 13:24:10’,‘2022-08-27 13:24:10’)”]
[2022/08/27 14:33:08.587 +08:00] [WARN] [2pc.go:1802] [“schemaLeaseChecker is not set for this transaction”] [sessionID=633048217743437121] [startTS=435573748830568450] [checkTS=435573748830568451]

| username: hey-hoho | Original post link

Is the changefeed duplicated?

| username: blaine | Original post link

No, I removed all the previous ones.

| username: HACK | Original post link

Deleting a synchronization task: note that by default, the task will be retained for 24 hours after deletion. The --force option forces immediate deletion. Without this parameter, the task will be retained for 24 hours after deletion, during which time a task with the same name cannot be created.

Execute the following command to see if there are any tasks you deleted:

cdc cli changefeed list --pd=http://xxx.xxx.xxx.xxx:2379
| username: blaine | Original post link

I replaced it with a new changefeed, but the error still occurs.

[2022/08/27 15:42:30.631 +08:00] [WARN] [2pc.go:1802] [“schemaLeaseChecker is not set for this transaction”] [sessionID=633048217743450915] [startTS=435574839860527109] [checkTS=435574839860527110]
[2022/08/27 15:42:30.946 +08:00] [WARN] [2pc.go:1802] [“schemaLeaseChecker is not set for this transaction”] [sessionID=633048217743450911] [startTS=435574839939432456] [checkTS=435574839952539649]
[2022/08/27 15:42:31.890 +08:00] [WARN] [2pc.go:1802] [“schemaLeaseChecker is not set for this transaction”] [sessionID=633048217743450915] [startTS=435574840188469267] [checkTS=435574840188469268]
[2022/08/27 15:42:33.952 +08:00] [ERROR] [session.go:721] [“assertion failed”] [conn=633048217743450857] [message=“[tikv:8141]assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435574840254005263, existing start ts: 0, existing commit ts: 0”] [“mvcc history”=“{"key":"7480000000000007EC5F698000000000000001010E2D0E290E290E2AFF0F640E8B10510EC1FF0E330F5B0E8B0EB9FF0E4A1002105E0E30FF0E2A0E320E2E0E2CFF0E2D0E300E2B0E2EFF0E320E2E0E2C0E2BFF0E2B0E2F0E2D0E29FF0E2F000000000000F9","mvcc":{"info":{"writes":[{"type":3,"start_ts":435574828169166852,"commit_ts":435574828169166852}]}},"regionID":547981}”]
[2022/08/27 15:42:33.952 +08:00] [WARN] [session.go:881] [“can not retry txn”] [conn=633048217743450857] [label=general] [error=“[tikv:8141]assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435574840254005263, existing start ts: 0, existing commit ts: 0”] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true]
[2022/08/27 15:42:33.952 +08:00] [WARN] [session.go:897] [“commit failed”] [conn=633048217743450857] [“finished txn”=“Txn{state=invalid}”] [error=“[tikv:8141]assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435574840254005263, existing start ts: 0, existing commit ts: 0”]
[2022/08/27 15:42:33.952 +08:00] [WARN] [session.go:1941] [“run statement failed”] [conn=633048217743450857] [schemaVersion=894] [error=“previous statement: REPLACE INTO activity_flow_clean.red_spot_newgame_ybzr(id,site_id,member_id,venue_id,venue_bill_no,bet_amount,net_amount,valid_bet_amount,bet_time,settle_time,flag,is_second,created_at,updated_at) VALUES (4228668095914881033,4001,1463149,26,_binary’771377992140271616’,‘200.0000’,‘190.0000’,‘190.0000’,_binary’2022-08-27T13:20:45+08:00’,_binary’2022-08-27T13:21:10+08:00’,1,0,‘2022-08-27 13:24:19’,‘2022-08-27 13:24:19’),(4228668104974577740,4001,488831,26,_binary’771378251729747968’,‘20.0000’,‘20.0000’,‘20.0000’,_binary’2022-08-27T13:21:47+08:00’,_binary’2022-08-27T13:22:10+08:00’,1,0,‘2022-08-27 13:24:20’,‘2022-08-27 13:24:20’): [tikv:8141]assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435574840254005263, existing start ts: 0, existing commit ts: 0”] [session=“{
"currDBName": "",
"id": 633048217743450857,
"status": 2,
"strictMode": true,
"user": {
"Username": "dba_tools",
"Hostname": "10.10.11.109",
"CurrentUser": false,
"AuthUsername": "dba_tools",
"AuthHostname": "10.%"
}
}”]

| username: blaine | Original post link

This is the error log information for ticdc:

[2022/08/27 15:59:22.213 +08:00] [WARN] [mysql.go:935] [“execute DMLs with error, retry later”] [error=“[CDC:ErrMySQLTxnError]Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2b0e2dff0e300e2f0e2d0e2aff0e300e2d0e320e2bff0e2b0e2e0e2e0e31ff0e30000000000000f9, assertion: Exist, start_ts: 435575104573538305, existing start ts: 0, existing commit ts: 0: Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2b0e2dff0e300e2f0e2d0e2aff0e300e2d0e320e2bff0e2b0e2e0e2e0e31ff0e30000000000000f9, assertion: Exist, start_ts: 435575104573538305, existing start ts: 0, existing commit ts: 0”] [errorVerbose=“[CDC:ErrMySQLTxnError]Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2b0e2dff0e300e2f0e2d0e2aff0e300e2d0e320e2bff0e2b0e2e0e2e0e31ff0e30000000000000f9, assertion: Exist, start_ts: 435575104573538305, existing start ts: 0, existing commit ts: 0: Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2b0e2dff0e300e2f0e2d0e2aff0e300e2d0e320e2bff0e2b0e2e0e2e0e31ff0e30000000000000f9, assertion: Exist, start_ts: 435575104573538305, existing start ts: 0, existing commit ts: 0
github.com/pingcap/errors.AddStack
\tgithub.com/pingcap/errors@v0.11.5-0.20210513014640-40f9a1999b3b/errors.go:174
github.com/pingcap/errors.(*Error).GenWithStackByCause
\tgithub.com/pingcap/errors@v0.11.5-0.20210513014640-40f9a1999b3b/normalize.go:302
github.com/pingcap/ticdc/pkg/errors.WrapError
\tgithub.com/pingcap/ticdc/pkg/errors/helper.go:30
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLWithMaxRetries.func1.3
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:1000
github.com/pingcap/ticdc/cdc/sink.(*Statistics).RecordBatchExecution
\tgithub.com/pingcap/ticdc/cdc/sink/statistics.go:112
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLWithMaxRetries.func1
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:972
github.com/pingcap/ticdc/pkg/retry.run
\tgithub.com/pingcap/ticdc/pkg/retry/retry_with_opt.go:54
github.com/pingcap/ticdc/pkg/retry.Do
\tgithub.com/pingcap/ticdc/pkg/retry/retry_with_opt.go:32
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLWithMaxRetries
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:964
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLs
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:1125
github.com/pingcap/ticdc/cdc/sink.(*mysqlSinkWorker).run.func3
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:820
github.com/pingcap/ticdc/cdc/sink.(*mysqlSinkWorker).run
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:858
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).createSinkWorkers.func1
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:661
runtime.goexit
\truntime/asm_amd64.s:1371”]
[2022/08/27 15:59:26.881 +08:00] [WARN] [mysql.go:935] [“execute DMLs with error, retry later”] [error=“[CDC:ErrMySQLTxnError]Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435575105818984451, existing start ts: 0, existing commit ts: 0: Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435575105818984451, existing start ts: 0, existing commit ts: 0”] [errorVerbose=“[CDC:ErrMySQLTxnError]Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435575105818984451, existing start ts: 0, existing commit ts: 0: Error 8141: assertion failed: key: 7480000000000007ec5f698000000000000001010e2d0e290e290e2aff0f640e8b10510ec1ff0e330f5b0e8b0eb9ff0e4a1002105e0e30ff0e2a0e320e2e0e2cff0e2d0e300e2b0e2eff0e320e2e0e2c0e2bff0e2b0e2f0e2d0e29ff0e2f000000000000f9, assertion: Exist, start_ts: 435575105818984451, existing start ts: 0, existing commit ts: 0
github.com/pingcap/errors.AddStack
\tgithub.com/pingcap/errors@v0.11.5-0.20210513014640-40f9a1999b3b/errors.go:174
github.com/pingcap/errors.(*Error).GenWithStackByCause
\tgithub.com/pingcap/errors@v0.11.5-0.20210513014640-40f9a1999b3b/normalize.go:302
github.com/pingcap/ticdc/pkg/errors.WrapError
\tgithub.com/pingcap/ticdc/pkg/errors/helper.go:30
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLWithMaxRetries.func1.3
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:1000
github.com/pingcap/ticdc/cdc/sink.(*Statistics).RecordBatchExecution
\tgithub.com/pingcap/ticdc/cdc/sink/statistics.go:112
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLWithMaxRetries.func1
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:972
github.com/pingcap/ticdc/pkg/retry.run
\tgithub.com/pingcap/ticdc/pkg/retry/retry_with_opt.go:54
github.com/pingcap/ticdc/pkg/retry.Do
\tgithub.com/pingcap/ticdc/pkg/retry/retry_with_opt.go:32
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLWithMaxRetries
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:964
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).execDMLs
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:1125
github.com/pingcap/ticdc/cdc/sink.(*mysqlSinkWorker).run.func3
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:820
github.com/pingcap/ticdc/cdc/sink.(*mysqlSinkWorker).run
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:858
github.com/pingcap/ticdc/cdc/sink.(*mysqlSink).createSinkWorkers.func1
\tgithub.com/pingcap/ticdc/cdc/sink/mysql.go:661
runtime.goexit
\truntime/asm_amd64.s:1371”]

| username: blaine | Original post link

The status doesn’t report an error, it just gets stuck there.

| username: blaine | Original post link

Finally, I created a task to synchronize each table in the entire database and found that other tables could be synchronized. However, there was one table that could not be synchronized. The error is as above. I feel like the data has come through, but the 6.1.0 version did not write the data into the database. I manually extracted the data and used REPLACE INTO, which worked. Very strange. The table structures on both sides are consistent. I backed up the source database.

| username: blaine | Original post link

After the final test, I created an identical table on the target end separately, and then synchronization allowed the data to be stored. Using backup and restore would result in an error and synchronization failure. I encountered a similar issue in version 4.0.9 before. I hope my testing can help others. Ultimately, the problem was due to the source end not enabling the new character set template, while the target end had it enabled, causing data to fail to write due to character set issues.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.