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
3 changes: 3 additions & 0 deletions source/reference/api/pause.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ Behavior
cluster. To learn more, see :ref:`Frequently Asked Questions
<c2c-faq-increase-oplog>`.

For more information on the ``PAUSED`` state, see :ref:`Paused Sync
Behavior <c2c-pause-behavior>`.

Endpoint Protection
~~~~~~~~~~~~~~~~~~~

Expand Down
38 changes: 38 additions & 0 deletions source/reference/mongosync/mongosync-behavior.txt
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,44 @@ Latency between the nodes of any replica set on the source or destination cluste
sets. If the majority of these nodes aren't in the same region, there
will be negative performance implications.

Interruptions During Sync
-------------------------

The following considerations pertain to interruptions during the
``mongosync`` process.

Errors and Crashes
~~~~~~~~~~~~~~~~~~

If ``mongosync`` encounters an error or becomes unavailable during
synchronization, or you can resume your ``mongosync`` operation from where
it stopped. The ``mongosync`` binary is stateless and stores the
metadata for a restart on the destination cluster.

To continue sync, restart ``mongosync`` once it becomes available again
and use the same parameters as your interupted sync. Once you restart
``mongosync``, the process resumes from where it stopped.

Cluster Availability
~~~~~~~~~~~~~~~~~~~~

If your source or destination cluster crashes unexpectedly, you can safely
restart ``mongosync`` from where it left off. Once your cluster is available
again, restart ``mongosync`` and use the same parameters as your interupted
sync.

.. _c2c-pause-behavior:

Paused Sync
~~~~~~~~~~~

If ``mongosync`` is in the :ref:`PAUSED <c2c-state-paused>` state,
``mongosync`` does not support the following actions:

- Upgrading the MongoDB version of the source or destination cluster
- Enabling and then disabling the balancer

You can upgrade ``mongosync`` while it is in the ``PAUSED`` state.

Learn More
----------
Expand Down