Skip to content

v2.0.27

Latest

Choose a tag to compare

@caiq1nyu caiq1nyu released this 04 Dec 10:17
· 56 commits to main since this release
48bd0c0

Maintenance release based on release-2.0.26. Versions now use Cargo-compatible <super_major_version>.<major_version>.<minor_version> numbering: 2.0.27 for a minor update, 2.1.xx for substantial new features, and 3.0.xx for major architectural changes.

Breaking Changes

MongoDB

  • [637] - honor do_structures when copying secondary indexes.
    • Before — do_structures=collection copied collections and their secondary indexes.
    • After — do_structures=collection copies collections and skips secondary indexes. Use do_structures=collection,index to copy both, or keep the default * to copy all structure types.

Added

General and Platform

  • [648] - add standalone structure and snapshot checks to dtscli, with INI-file imports and separate logs for each run. Redis supports snapshot checks.

MySQL

  • [5fde911e] - upgrade mysql-binlog-connector-rust to 0.3.5 for MySQL 8.4 binlog status queries, tagged GTID events/resume, and newer heartbeat events
  • [5fde911e] - support empty-password binlog connections with mysql_native_password and caching_sha2_password

MongoDB

  • [638] - support standalone structure checks for collections, secondary indexes, and shard keys

Redis

  • [645] - add read-only snapshot checks for standalone Redis and Redis Cluster targets, comparing key types, values, and expiration times

Changed

General and Platform

  • [648] - add dtscli create --from-task to derive migration and check tasks, a configurable task state directory, and credential redaction in check dry runs
  • [648] - enable checkpoint-based resume by default for MongoDB and Redis snapshot and CDC tasks generated from connection flags in dtscli, using resume_type=from_target as for MySQL and PostgreSQL

MySQL

  • [5fde911e] - reduce binlog event-body and decoded-value copies

Redis

  • [645] - move Redis snapshot TTL calculation from source-side RDB parsing to the sinker just before it sends RESTORE. This reduces the delay in target key expiration caused by time spent processing and buffering entries. Keys that have expired by write time are skipped.

Fixed

General and Platform

  • [619] - treat MySQL/PostgreSQL tables without a primary key as unkeyed when any unique index contains expressions; preserve DML order in rdb_merge
    • Requires binlog_row_image=FULL (MySQL) or REPLICA IDENTITY FULL (PostgreSQL) for CDC. Restart snapshots whose old checkpoints used incomplete expression-index keys. Unkeyed processing may reduce throughput.
  • [621] - report contextual errors instead of panicking on empty MySQL/PostgreSQL column metadata
  • [634] - fix MySQL/PostgreSQL DDL comment filtering to preserve quoted literals and identifiers and correctly handle PostgreSQL dollar quoting and nested block comments

MySQL

  • [619] - preserve expression index key parts during structure migration
  • [619] - keep the configured sinker isolation level effective across transactions on reused connections
  • [634] - fix CDC replication of CREATE TABLE ... AS SELECT by removing the internal START TRANSACTION table option and deferring transactional DDL checkpoint advancement until commit
  • [649] - preserve composite foreign keys and their column order during structure migration and standalone structure checks

PostgreSQL

  • [619] - use ON CONFLICT DO NOTHING for derived inserts on unkeyed expression-index tables with sinker.replace=true; conflicting rows are not updated
  • [619] - preserve empty strings instead of decoding them as NULL in CDC
  • [627] - fix unkeyed UPDATE/DELETE matching on json and xml columns using text comparison with C collation

MongoDB

  • [639] - fix snapshot resume when a saved _id value begins with a dollar sign

Redis

  • [615] - restore metrics collection for snapshot_and_cdc tasks
  • [630] - report Redis Cluster progress using the slowest node's heartbeat timestamp while retaining per-node checkpoints
  • [631] - stabilize Redis Cluster checkpoint and heartbeat keys across restarts to prevent missing resume keys