Skip to content

Commit 5282c58

Browse files
DOCSP-32917 mongosync 1.6 Release Notes (#160)
* DOCSP-32917 1.6.0 Release Notes * Adds RN's * Adds RN's * Adds RN's * Minor edits * Fixes per Jeff * Fixes per Ajay * Fixes per Ajay and Dave * Fixes per Ajay Co-authored-by: Ajay Vijayakumar <[email protected]> * Fixes per Ajay * Fixes typo --------- Co-authored-by: Ajay Vijayakumar <[email protected]>
1 parent 17f26dc commit 5282c58

File tree

3 files changed

+75
-9
lines changed

3 files changed

+75
-9
lines changed

source/reference/limitations.txt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,24 @@ Limitations
2424
General Limitations
2525
-------------------
2626

27-
- The minimum supported server version is MongoDB 6.0.5.
27+
- The minimum supported server versions are MongoDB 6.0.8 and 7.0.0.
2828

2929
.. include:: /includes/fact-minimum-versions.rst
3030

3131
- ``mongosync`` does not support MongoDB rapid releases such as 6.1 or
3232
6.2. Only major MongoDB releases such as 6.0 or 7.0. are supported.
3333
For more information on MongoDB versioning, see
3434
:ref:`release-version-numbers`.
35-
- The source and destination clusters must have the same release
36-
version.
35+
- The source and destination clusters must have the same major and minor
36+
release version, but can have different patch releases.
37+
38+
For example,
39+
- ``mongosync`` supports sync from a MongoDB 6.0.8 source cluster to a
40+
destination cluster using MongoDB 6.0.9, since these are patch releases
41+
of the same major release.
42+
- ``mongosync`` does not support sync from a MongoDB 6.0.9 source cluster to
43+
a destination cluster using MongoDB 7.0.0, since they have different major
44+
versions.
3745
- The minimum supported :dbcommand:`Feature Compatibility Version
3846
<setFeatureCompatibilityVersion>` is 6.0.
3947
- The source and destination clusters must have the same Feature
@@ -148,4 +156,4 @@ Capped Collections
148156
System Collections
149157
------------------
150158

151-
.. include:: /includes/collections/behavior-system-collections.rst
159+
.. include:: /includes/collections/behavior-system-collections.rst

source/reference/versioning.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ Same Server Version
6060
~~~~~~~~~~~~~~~~~~~
6161

6262
{+c2c-product-name+} only supports syncing between the same version of
63-
MongoDB Server. All three :ref:`server version numbers
64-
<release-version-numbers>`, including the patch number, must be the
65-
same on both servers.
63+
MongoDB Server. The major and minor :ref:`server version numbers
64+
<release-version-numbers>` must be the same on both clusters.
65+
Starting in ``mongosync`` 1.6.0, the source and destination cluster
66+
can use different patch releases of the same major and minor version.
6667

6768
Support Lifecycle
6869
~~~~~~~~~~~~~~~~~

source/release-notes/1.6.txt

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Release Notes for mongosync 1.6
1818
1.6.0 Release
1919
-------------
2020

21-
**Upcoming**
21+
**September 18, 2023**
2222

2323
Exclusion Filters
2424
~~~~~~~~~~~~~~~~~
@@ -42,7 +42,64 @@ For more information, see :ref:`c2c-filter-regex`.
4242

4343
Starting in 1.6.0, ``mongosync`` supports sync with MongoDB 7.0.
4444

45+
Other Notes
46+
~~~~~~~~~~~
47+
48+
New Features:
49+
50+
- Sped up the commit process by parallelizing metadata cleanup.
51+
52+
- Reduced memory allocation during change event application by approximately
53+
30% for pre-6.0 releases of MongoDB Server versions.
54+
55+
- Changed telemetry to also send error messages to Segment when ``mongosync``
56+
exits with a fatal error.
57+
58+
- Added support for ``mongosync`` to sync between source and destination
59+
clusters that have the same major and minor versions, but different
60+
patch versions.
61+
62+
- Upgraded build to use Go 1.20.
63+
64+
- ``mongosync`` now periodically logs when server operations take a longer
65+
than expected time.
66+
67+
Issues Fixed:
68+
69+
- Fixed a bug introduced in 1.5, where ``mongosync`` could fail to apply change
70+
events for a document if they occur shortly after the document is copied during
71+
the Collection Copy phase.
72+
73+
- Fixed a bug where ``mongosync`` could crash due to the source cluster containing
74+
legacy indexes with unknown index options.
75+
76+
- Fixed a bug where ``mongosync`` could crash with an error during change event
77+
application, if the application fails to read 500 documents within 5 minutes
78+
or reaches the end of the oplog when reading from change streams on the source
79+
cluster.
80+
81+
- Fixed a bug where ``mongosync`` could crash when indexes apply constraints
82+
to collection documents.
83+
84+
This crash occured when such an index was added or dropped at nearly the same
85+
time as an index that violated these constrains was deleted or inserted. It
86+
would manifest with an error like:
87+
88+
.. code-block:: text
89+
:copyable: false
90+
91+
Ambiguous field name found in array (do not use numeric field names in embedded elements in an array)
92+
93+
or a similar error. This fix makes this crash less likely, but it does not
94+
elimiate the possibility that it will occur.
95+
96+
97+
98+
- Fixed a bug where ``mongosync`` can fail to copy certain documents if
99+
the insertion of documents causes duplicate key errors at the same time
100+
as a write concern error. This bug has been present in mongosync since its first release and may have arisen if the destination cluster logs reported a write concern error alongside a duplicate key error.
101+
45102
Minimum Supported Version
46103
-------------------------
47104

48-
In 1.6, the minimum supported version of MongoDB is 6.0.8.
105+
In 1.6, the minimum supported versions of MongoDB are 6.0.8 and 7.0.0.

0 commit comments

Comments
 (0)