Skip to content

Commit 77e9533

Browse files
(DOCSP-40128): v1.7.3 release updates (#326)
* (DOCSP-40128): v1.7.3 release notes * more updates * fix * fix * address review comments
1 parent aed6379 commit 77e9533

File tree

7 files changed

+79
-39
lines changed

7 files changed

+79
-39
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
2-
``mongosync`` requires the :readmode:`primary` read preference
3-
to connect to the source cluster. For more information, see :ref:`connections-read-preference`.
4-
1+
``mongosync`` requires the :readmode:`primary` read preference to
2+
connect to the source and destination clusters. For more information,
3+
see :ref:`connections-read-preference`.

source/includes/sharding-perf.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

source/multiple-mongosyncs.txt

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ source cluster.
2020

2121
.. important::
2222

23-
When the source cluster is a sharded cluster, stop the
23+
When the source or destination cluster is a sharded cluster, stop the
2424
balancer and don't run the :dbcommand:`moveChunk` or
25-
:dbcommand:`moveRange` commands until ``mongosync`` reaches
26-
the collection copy phase.
25+
:dbcommand:`moveRange` commands for the entire lifetime of the
26+
migration. To stop the balancer, run the :dbcommand:`balancerStop`
27+
command and wait for the command to complete.
2728

2829
.. _c2c-sharded-config-single:
2930

@@ -177,13 +178,6 @@ Use ``curl`` or another HTTP client to issue the :ref:`start
177178
The ``start`` command options must be the same for all of the ``mongosync``
178179
instances.
179180

180-
.. _c2c-sharded-performance:
181-
182-
Performance
183-
-----------
184-
185-
.. include:: /includes/sharding-perf
186-
187181
.. _c2c-sharded-progress:
188182

189183
Check Progress

source/reference/api/resume.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,14 @@ Response
7171
Behavior
7272
--------
7373

74-
If the ``resume`` request is successful, ``mongosync`` enters the
75-
``RUNNING`` state.
74+
- If the ``resume`` request is successful, ``mongosync`` enters the
75+
``RUNNING`` state.
76+
77+
- When you send a ``resume`` request, there may be a delay of up to a
78+
few minutes before ``mongosync`` resumes the migration.
7679

7780
Endpoint Protection
7881
~~~~~~~~~~~~~~~~~~~
7982

8083
.. |endpoint| replace:: ``resume``
8184
.. include:: /includes/fact-api-endpoint
82-
83-

source/reference/limitations.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ General Limitations
5757
- ``mongosync`` does not support source or destination clusters that
5858
are currently upgrading MongoDB versions.
5959
- ``mongosync`` does not support syncing
60-
`Atlas Search Indexes <https://www.mongodb.com/docs/atlas/atlas-search/create-index/>`__.
60+
`Atlas Search Indexes
61+
<https://www.mongodb.com/docs/atlas/atlas-search/create-index/>`__.
6162

6263
MongoDB Community Edition
6364
-------------------------
@@ -118,8 +119,10 @@ Sharded Clusters
118119
To check for index inconsistencies, see :ref:`Find Inconsistent
119120
Indexes Across Shards <manage-indexes-find-inconsistent-indexes>`.
120121

121-
- You must stop the balancer on a sharded source cluster until
122-
mongosync finishes the collection copy phase.
122+
- You must stop the balancer on sharded source and destination clusters
123+
for the entire lifetime of a migration. To stop the balancer, run the
124+
:dbcommand:`balancerStop` command and wait for the command to
125+
complete.
123126

124127
.. note::
125128

@@ -128,7 +131,7 @@ Sharded Clusters
128131
finish any in progress chunk migrations.
129132

130133
- You must not run the :dbcommand:`moveChunk` and
131-
:dbcommand:`moveRange` commands on the source cluster.
134+
:dbcommand:`moveRange` commands on the source or destination clusters.
132135
- The shard key cannot be :ref:`refined <shard-key-refine>` while
133136
syncing.
134137
- The :dbcommand:`reshardCollection` operations from the source cluster

source/reference/mongosync.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ behavior, see :ref:`read-concern` and :ref:`write-concern`.
291291
Read Preference
292292
~~~~~~~~~~~~~~~
293293

294-
``mongosync`` requires the :readmode:`primary` read preference
295-
when connecting to the source cluster. For more information, see
296-
:ref:`connections-read-preference`.
294+
``mongosync`` requires the :readmode:`primary` read preference when
295+
connecting to the source and destination clusters. For more information,
296+
see :ref:`connections-read-preference`.
297297

298298
.. _c2c-capped-collections:
299299

@@ -380,4 +380,3 @@ Examples
380380
:copyable: false
381381

382382
{ "success": true }
383-

source/release-notes/1.7.txt

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,62 @@ Release Notes for mongosync 1.7
1515
Patch Releases
1616
--------------
1717

18+
.. _1.7.3-c2c-release-notes:
19+
20+
1.7.3 Release
21+
~~~~~~~~~~~~~
22+
23+
**June 4, 2024**
24+
25+
Issues Fixed:
26+
27+
- Fixed bug introduced in v1.5.0 where mongosync could miss change
28+
events when reading documents from a lagging secondary node and the
29+
Oplog Rollover Resilience mechanism is enabled.
30+
31+
- Fixed bug introduced in v1.0.0 where the destination may have missing
32+
or extra indexes after mongosync is committed. This is an unlikely
33+
edge case.
34+
35+
- Fixed bug introduced in v1.0.0 where mongosync may miss change events
36+
for a document. This is an unlikely edge case that is only possible if
37+
the destination server version is MongoDB 5.0 or earlier.
38+
39+
- Fixed bug introduced in v1.0.0 that could result in size mismatches
40+
between source and destination capped collections. This can only
41+
affect migrations if all of the following conditions are met:
42+
43+
- The source cluster is MongoDB 6.0 or earlier.
44+
45+
- The destination cluster is MongoDB 7.0 or later.
46+
47+
- A capped collection's size was modified during a migration.
48+
49+
- Fixed bug introduced in v1.0.0 where mongosync ignored the
50+
``changeStreamPreAndPostImages`` field in ``modify`` change events.
51+
This could result in a destination collection having a different value
52+
for this field compared to its source collection. mongosync now
53+
correctly handles this field.
54+
55+
- Mitigated bug introduced in v1.0.0 that could result in missed change
56+
events when mongosync is interrupted and resumed. This is an unlikely
57+
edge case.
58+
59+
Limitations:
60+
61+
- You must stop the balancer on both the source and destination sharded
62+
clusters for the entire lifetime of a migration. If you try to start
63+
mongosync while the balancer is still running, it throws an error.
64+
65+
- You must not run the ``moveChunk`` or ``moveRange`` commands on the
66+
destination cluster. If you try to run these commands on the source
67+
cluster, mongosync throws an error.
68+
69+
- mongosync reads from the destination cluster using the ``primary``
70+
read preference. If you try to start mongosync with a different read
71+
preference, it throws an error.
72+
73+
1874
.. _1.7.2-c2c-release-notes:
1975

2076
1.7.2 Release
@@ -49,7 +105,7 @@ Issues Fixed:
49105

50106
This can only affect migrations where collections are dropped
51107
or renamed while mongosync is running and the source or
52-
destintion cluster runs MongoDB 6.0.0 to 6.0.12 or MongoDB
108+
destination cluster runs MongoDB 6.0.0 to 6.0.12 or MongoDB
53109
7.0.0 or 7.0.3.
54110

55111
- Fixed bug introduced in v1.1.0 that could result in a

0 commit comments

Comments
 (0)