DM 2.0 GA Release Notes
Release date: October 30, 2020
DM version: 2.0.0
Improvements
- Optimize the setting of
safe-modeto ensure the eventual consistency of data when the upstream database, such as Amazon Aurora and Aliyun RDS, does not support FTWRL in the full export #981 #1017 - Support automatic configuration of
sql_modefor data migration based on the globalsql_modeof upstream and downstream databases andsql_modeof binlog events #1005 #1071 #1137 - Support automatic configuration of the
max_allowed_packetfrom DM to the downstream TiDB, based on the globalmax_allowed_packetvalue of the downstream TiDB #1071 - Optimize the incremental replication speed compared with DM 2.0 RC version #1203
- Improve performance by using optimistic transaction to migrate data to TiDB by default #1107
- Support DM-worker automatically fetching and using the list of DM-master nodes in the cluster #1180
- Disable auto-resume behavior for more errors that cannot be automatically recovered #979 #1085 #1216
Bug fixes
- Fix the issue that failure to automatically set the default value of
statement-sizefor full export might cause thepacket for query is too largeerror or the OOM issue in TiDB #1133 - Fix DM-worker panic when there are concurrent checkpoint operations during the full import #1182
- Fix the issue that the migration task might have
table checkpoint position * less than global checkpoint positionerror and be interrupted after the upstream MySQL/MariaDB instance is restarted #1041 - Fix the issue that migration tasks might be interrupted when the upstream database does not enable GTID #1123
- Fix the issue that the DM-master node does not start properly after conflicts occur during the shard DDL coordination #1199
- Fix the issue that the incremental replication might be too slow when there are multiple common indexes in the table to be migrated #1063
- Fix the issue that the progress display is abnormal after restarting the migration task during the full import #1043
- Fix the issue that paused migration subtasks cannot be obtained by
query-statusafter being scheduled to another DM-worker #1183 - Fix the issue that
FileSizemight not take effect during the full export #1191 - Fix the issue that the
-sparameter inextra-argsdoes not take effect during the full export #1196 - Fix the issue that enabling the online DDL feature might cause
not allowed operation: alter multiple tables in one statementerror #1192 - Fix the issue that during the incremental replication, the migration task might be interrupted when the DDL statements to be migrated are associated with other tables, such as DDL statements related to foreign keys #1101 #1108
- Fix the issue that database names and table names with character
/are not correctly parsed during the full migration #991 - Fix the issue that after failing to migrate DDL statements to the downstream TiDB database during the incremental replication, migration tasks might not be paused and the corresponding error cannot be obtained from
query-status#1059 - Fix the issue that concurrently coordinating multiple DDL statements in the optimistic shard DDL mode might block the task #1051
- Fix the issue that a DM-master might try to forward requests to other DM-master nodes after it becomes the leader #1157
- Fix the issue that DM cannot parse
GRANT CREATE TABLESPACEduring the precheck #1113 - Fix the issue that migration tasks are interrupted when migrating
DROP TABLEstatements but corresponding tables don’t exist #990 - Fix the issue that
operate-schemamight not work properly when the--sourceparameter is specified #1106 - Fix the issue that
list-membercannot be executed correctly after enabling TLS #1050 - Fix the issue that mixing
httpsandhttpin the config items might cause the cluster to not work properly after enabling TLS #1220 - Fix the issue that the HTTP API cannot work properly after configuring the
cert-allowed-cnparameter for DM-masters #1036 - Fix the issue that for incremental replication tasks, the configuration check fails when
binlog-gtidis only specified in themetaof the task configuration #987 - Fix the issue that in the interactive mode, dmctl cannot correctly execute some commands starting or ending with blank characters #1202
- Fix the issue that the
converting NULL to string is unsupportederror is output to the log file during the full export #1014 - Fix the issue that the progress might be displayed as
NaNduring the full import #1209