Repository navigation
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_structureswhen copying secondary indexes.- Before —
do_structures=collectioncopied collections and their secondary indexes. - After —
do_structures=collectioncopies collections and skips secondary indexes. Usedo_structures=collection,indexto copy both, or keep the default*to copy all structure types.
- Before —
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-rustto 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_passwordandcaching_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-taskto 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, usingresume_type=from_targetas 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) orREPLICA IDENTITY FULL(PostgreSQL) for CDC. Restart snapshots whose old checkpoints used incomplete expression-index keys. Unkeyed processing may reduce throughput.
- Requires
- [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 SELECTby removing the internalSTART TRANSACTIONtable 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 NOTHINGfor derived inserts on unkeyed expression-index tables withsinker.replace=true; conflicting rows are not updated - [619] - preserve empty strings instead of decoding them as
NULLin CDC - [627] - fix unkeyed UPDATE/DELETE matching on
jsonandxmlcolumns using text comparison withCcollation
MongoDB
- [639] - fix snapshot resume when a saved
_idvalue begins with a dollar sign