mongomirror Changelog¶
On this page
mongomirror
0.12.2¶
Bug fixes:
- Fixes a connection issue introduced in
mongomirror
0.12.0. - Fixes a bug where only one legacy index option is removed if two or more legacy index options exist for a collection on the source database.
- Upgrades the Go driver to 1.7.1.
mongomirror
0.12.1¶
Bug fixes:
- Fixes a connection issue introduced in
mongomirror
0.12.0. - Reverts the Go driver to 1.5.4.
mongomirror
0.12.0¶
Features and improvements:
mongomirror
now supports migrating time series collections.- New option
--removeAutoIndexId
to removeautoIndexId: false
from collections that you migrate from MongoDB 3.6 or earlier. mongomirror
now fails when you attempt to migrate geoHaystack indexes to an Atlas cluster running MongoDB 5.0 or later.mongomirror
fails if a resharding operation occurs on the source cluster during a migration.mongomirror
now supports RHEL 8 on IBM zSeries platforms.- Upgraded Go driver to 1.6.
mongomirror
0.11.2¶
Features and improvements:
mongomirror
binaries are now signed to ensure authenticity.MongoDB now supports only the latest RHEL distribution on IBM zSeries platforms. These zSeries platforms are no longer supported:
rhel67-zseries-*
suse12-zseries-*
suse15-zseries-*
ubuntu1604-zseries-*
ubuntu1804-zseries-*
Bug fixes:
- Fixes an issue with driver usage reporting in Atlas.
mongomirror
0.11.1¶
Features and improvements:
- Supports specifying user credentials with a configuration file or environment variables.
- Introduces index building progress logs for the Oplog sync.
- Updates Third-Party Release Notes for https://github.com/youmark/pkcs8
Bug fixes:
- Improves sync status reporting.
- Fixes slowness introduced in
mongomirror
0.11.0.
mongomirror
0.10.0¶
Features and improvements:
- New option
--noIndexRestore
to omit indexes when migrating data. - New option
--awsSessionToken
to authenticate with an AWS IAM role. - MongoDB v4.4 is now available as both a source and destination database version.
Bug fixes:
- Improved error handling when a URI connection string is given for the
--host
option.
mongomirror
0.9.1¶
Features and improvements:
- Improve initial sync performance for WiredTiger sources.
mongomirror
0.9.0¶
Features and improvements:
- New
--compressors
option for network compression (enabled by default). - New
--collStatsThreshold
option to disable collStats when a specified number of collections is exceeded. - Build indexes for largest collections first.
- Restart oplog buffering between collection copying and index building.
- Improve oplog batch flushing to minimize small batches.
- The default log level now logs when indexes start building.
Bug fixes:
- Remove support for the
--readPreference
option.mongomirror
must always read from the primary.
mongomirror
0.8.0¶
Features and improvements:
- Initial sync inserts batch up to 100k documents instead of 1000.
- Increase applyOps batch size.
Bug fixes:
- Oplog buffering errors handling oplog entries over 16MB.
- Disable socket timeout.
- Initial sync client must not do primary detection for direct connections.
mongomirror
0.7.0¶
Features and improvements:
- Upgrade to Go driver 1.1.1.
- Add support for MongoDB 4.2.
- Send
writeConcern
withcollMod
when the destination cluster is version 3.6+. - Remove legacy extended JSON usage.
Bug fixes:
- Use direct connection to source cluster when replica set name isn't provided.
- Authorization error on
local
database reading oplog from initial sync source. - Regression: non-transaction op processed as transaction op.
- Catch
QuitNotifier
inapplyOplogEntries
. - Change lag calculation to avoid collection scans.
- Oplog cursor is restarted instead of tailing on empty batch.
mongomirror
0.6.0¶
mongomirror
version 0.6.0 was withdrawn and is no longer
available.
MongoDB Support:
- Adds support for MongoDB 4.2 as a destination only
Bug fixes:
- Windows executable should have
.exe
suffix
Features and improvements:
- Migrate and sync a subset of databases/collections (BETA)
- Remove
--tailOnly
parameter - Now using the MongoDB Go driver
- Upgrade to Go 1.12
mongomirror
0.5.2¶
Features and improvements:
- Import collections in descending order of collection size to prevent one large collection from blocking completion.
- Distinguish between
can't connect
andis not a replica set
errors. noCursorTimeout
now prevents timeouts when syncing large collections.
Bug fixes:
- Error while applying oplog entries to the destination:
E11000 duplicate key error
. - Recovery after
CannotCreateIndex
errors.
mongomirror
0.5.1¶
This release fixes a bug regarding bad index hints for capped collections.
mongomirror
0.5.0¶
This release adds the following features and improvements:
- Support for buffering the oplog to disk during initial sync. This
ensures that the source oplog will not run out of space during the
migration process. For more information, see the documentation for
the new
--oplogPath
command line option. - Use Go-native TLS on Windows (instead of OpenSSL 1.0.2n).
- Upgrade to Go 1.11 (from 1.8).
mongomirror
now removes thebackground
flag from all indexes it creates. Background indexes created on the source cluster will be created as foreground indexes on the destination cluster. For more information on foreground index builds, see Index Build Operations on a Populated Collection.
mongomirror
0.4.1¶
This release fixes an installation error on some Windows hosts.
mongomirror
0.4.0¶
This release adds support for MongoDB 4.0 as both a source
and destination for mongomirror
.
mongomirror
0.3.1¶
This release adds the following features and improvements:
- Support for MongoDB 4.0 as a destination only for
mongomirror
. - Support for tolerating elections and network errors on the destination during initial sync.
- Support for syncing "system.js" collections.
- Use Go-native TLS on MacOS (instead of OpenSSL 0.9.8).
mongomirror
should ignore no-ops when reporting the latest oplog timestamp.
This release also removes support for Debian 7. Debian 7 is EOL and is not supported by MongoDB 4.0.