Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Merged
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
11 changes: 3 additions & 8 deletions source/includes/fact-oplog-background.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@

``mongosync`` applies operations in the ``oplog`` on the source cluster
to the data on the destination cluster. When operations
that ``mongosync`` has not applied roll off the ``oplog``
to the data on the destination cluster after the
:ref:`collection copy <c2c-collection-copy>` phase. When
operations that ``mongosync`` has not applied roll off the ``oplog``
on the source cluster, the sync fails and ``mongosync`` exits.

.. note::

.. include:: /includes/fact-applyOps.rst

During the initial sync, ``mongosync`` may apply operations at a slower
rate due to copying documents concurrently.
After the initial sync, ``mongosync`` applies changes
faster and is more likely to maintain a position in the ``oplog``
that is close to the real-time writes occurring on the source cluster.

If you anticipate syncing a large data set, or if you plan to pause
synchronization for an extended period of time, you might exceed the
:term:`oplog window`. Use the :setting:`~replication.oplogSizeMB` setting
Expand Down