Closed asiroliu closed 1 year ago
version: 9.9.9.9-master-a6c5b3b
2022-10-17T13:13:28.238+0800 [DEBUG] applier: execQuery: job=oneToOne_table_level_1_db_n_table-migration query="USE `action_db_1`"
2022-10-17T13:13:28.238+0800 [WARN] applier.ApplyBinlogEvent: Ignore error: job=oneToOne_table_level_1_db_n_table-migration err="tx.Exec. gno 2024 queryBegin USE `actio workerIdx 9: Error 1049: Unknown database 'action_db_1'"
2022-10-17T13:13:28.238+0800 [DEBUG] applier.ApplyBinlogEvent.ParseQueryEventFlags: ParseQueryEventFlags: job=oneToOne_table_level_1_db_n_table-migration bytes=0000000000012000a055000000000603737464042d002d0008000c01616374696f6e5f64625f3100
2022-10-17T13:13:28.238+0800 [DEBUG] applier.ApplyBinlogEvent.ParseQueryEventFlags: Q_UPDATED_DB_NAMES: job=oneToOne_table_level_1_db_n_table-migration schema=action_db_1 i=39 j=0
2022-10-17T13:13:28.238+0800 [DEBUG] applier: execQuery: job=oneToOne_table_level_1_db_n_table-migration query="CREATE DATABASE IF NOT EXISTS `action_db_1` /*dtle_gtid1 oneToOne_table_level_1_db_n_table-migration 206a939a-4dda-11ed-9d65-0242ac640902 2024 dtle_gtid*/"
2022-10-17T13:13:28.238+0800 [ERROR] applier.ApplyBinlogEvent: Exec sql error: job=oneToOne_table_level_1_db_n_table-migration err="tx.Exec. gno 2024 queryBegin CREATE DAT workerIdx 9: Error 1837: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is '206a939a-4dda-11ed-9d65-0242ac640902:2024'."
2022-10-17T13:13:28.238+0800 [ERROR] applier: onError: job=oneToOne_table_level_1_db_n_table-migration err="tx.Exec. gno 2024 queryBegin CREATE DAT workerIdx 9: Error 1837: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is '206a939a-4dda-11ed-9d65-0242ac640902:2024'." hasShutdown=false
2022-10-17T13:13:28.238+0800 [DEBUG] applier: onError. nats published: job=oneToOne_table_level_1_db_n_table-migration
2022-10-17T13:13:28.238+0800 [DEBUG] applier: Shutting down: job=oneToOne_table_level_1_db_n_table-migration
Description
MySQL-MySQL incr stage: set SetGtidNext=true , drop table cause error
Steps to reproduce the issue
Output of
./dtle version
:**