DM 2.0.1 Release Notes
Release date: December 25, 2020
DM version: 2.0.1
Improvements
- Support the relay log feature in high availability scenarios #1353
- DM-worker supports storing relay logs only locally.
- In scenarios where a DM-worker node is down or is offline due to network fluctuations, the newly scheduled DM-worker pulls the upstream binlog again.
- Restrict the
handle-errorcommand to only handle DDL errors to avoid misuse #1303 - Support simultaneously connecting multiple DM-master nodes and automatically switching connected nodes in dmctl #1349
- Add the
get-configcommand to get the configuration of migration tasks and DM components #1348 - Support migrating SQL statements like
ALTER TABLE ADD COLUMN (xx, xx)#1345 - Support automatically filtering SQL statements like
CREATE/ALTER/DROP EVENT#1343 - Support checking whether
server-idis set for the upstream MySQL/MariaDB instance before the incremental replication task starts #1315 - Support replicating schemas and tables with
sqlin their names during the full import #1259
Bug fixes
- Fix the issue that restarting a task might cause
fail to initial unit Sync of subtaskerror #1274 - Fix the issue that the
pause-taskcommand might be blocked when it is executed during the full import #1269 #1277 - Fix the issue that DM fails to create a data source for a MariaDB instance when
enable-gtid: trueis configured #1344 - Fix the issue that the
query-statuscommand might be blocked when it is executed #1293 - Fix the issue that concurrently coordinating multiple DDL statements in the pessimistic shard DDL mode might block the task #1263
- Fix the issue that running the
pause-taskcommand might get the meaninglesssql: connection is already closederror #1304 - Fix the issue that the full migration fails when the upstream instance does not have the
REPLICATIONprivilege #1326 - Fix the issue that the
route-rulesconfiguration of a shard merge task does not take effect in the full import when theSQL_MODEof the task containsANSI_QUOTES#1314 - Fix the issue that DM fails to automatically apply the
SQL_MODEof the upstream database during the incremental replication #1307 - Fix the issue that DM logs the
fail to parse binlog status_varswarning when automatically parsing theSQL_MODEof the upstream database #1299