Skip to content

Commit 108e6c9

Browse files
authored
DOCSP 29155 adding sort and uuids to mongosync page (#230) (#236)
* DOCSP-29155 adding behavior info to mongosync * DOCSP-29155 adding sorting and uuids to mongosync page * DOCSP-29155 adding sorting and uuids to mongosync page * DOCSP-29155 copy edits * DOCSP-29155 copy edit * DOCSP-29155 tech edits * DOCSP-29155 tech edits * DOCSP-29155 tech edits * DOCSP-29155 tech edits * DOCSP-29155 tech edit
1 parent 50a4c8e commit 108e6c9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source/reference/mongosync.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,26 @@ error occurs, the ``mongosync`` log may contain the word "error' but
296296
``mongosync`` is still able to complete the sync. In the case that a
297297
sync does not complete, ``mongosync`` writes a fatal log entry.
298298

299+
UUIDs
300+
~~~~~
301+
302+
``mongosync`` creates collections with new :abbr:`UUIDs (universally
303+
unique identifiers)` on the destination cluster. There is no
304+
relationship between UUIDs on the source cluster and the destination
305+
cluster. If applications contain hard-coded UUIDs (which MongoDB does
306+
not recommend), you may need to update those applications before they
307+
work properly with the migrated cluster.
308+
309+
Sorting
310+
~~~~~~~
311+
312+
``mongosync`` inserts documents on the destination cluster in an
313+
undefined order which does not preserve natural sort order from the
314+
source cluster. If applications depend on document order but don't have
315+
a defined sort method, you may need to update those applications to
316+
specify the expected sort order before the applications work properly
317+
with the migrated cluster.
318+
299319
.. _c2c-mongosync-examples:
300320

301321
Examples

0 commit comments

Comments
 (0)