Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions source/includes/rolling-build-limitation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
``mongosync`` does not support :ref:`rolling index builds
<index-building-replica-sets>` during migration. To avoid building
indexes in a rolling fashion during migration, use one of the following
methods to ensure that your destination indexes match your source
indexes:

- Build the index on the source before migration.
- Build the index on the source during migration with a :ref:`default
index build <index-creation-background>`.
- Build the index on the destination after migration.
11 changes: 1 addition & 10 deletions source/reference/limitations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,4 @@ System Collections
Rolling Index Builds
--------------------

``mongosync`` does not support :ref:`rolling index builds
<index-building-replica-sets>` during migration. To avoid building
indexes in a rolling fashion during migration, use one of the following
methods to ensure that your destination indexes match your source
indexes:

- Build the index on the source before migration.
- Build the index on the source during migration with a non-rolling
index build.
- Build the index on the destination after migration.
.. include:: /includes/rolling-build-limitation.rst
5 changes: 5 additions & 0 deletions source/reference/mongosync/mongosync-behavior.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ synchronization. The original values are restored during the commit process.
- In some cases, synchronization may create dummy indexes on the
destination to support writes on sharded or collated collections.

Rolling Index Builds
~~~~~~~~~~~~~~~~~~~~

.. include:: /includes/rolling-build-limitation.rst

Destination Clusters
--------------------

Expand Down