Skip to content

Commit f535968

Browse files
authored
DOCSP 33887 Updating oplog sizing section (#218) (#229)
* DOCSP-33887 empty * DOCSP-33887 update oplog sizing section * DOCSP-33887 typo * DOCSP-33887 typo * DOCSP-33887 editing faq * DOCSP-33887 copy edits * DOCSP-33887 copy edits * DOCSP-33887 copy edits * DOCSP-33887 copy edits * DOCSP-33887 copy edits * DOCSP-33887 tech edits
1 parent 2e088c0 commit f535968

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

source/faq.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,7 @@ clusters.
4949
Should I increase the size of the ``oplog`` in the source cluster?
5050
------------------------------------------------------------------
5151

52-
The :term:`oplog` is a capped collection that keeps a rolling
53-
record of all operations that modify the data stored in your databases.
54-
55-
.. include:: /includes/fact-oplog-background
56-
57-
To learn more about how to increase the size of the ``oplog``, see:
58-
:ref:`tutorial-change-oplog-size`.
52+
.. include:: includes/fact-oplog-background.rst
5953

6054
Which connection string options does ``mongosync`` allow?
6155
---------------------------------------------------------

source/includes/fact-oplog-background.rst

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,22 @@ to the data on the destination cluster. When operations
44
that ``mongosync`` has not applied roll off the ``oplog``
55
on the source cluster, the sync fails and ``mongosync`` exits.
66

7-
During the initial sync, ``mongosync`` may apply operations at a slower
8-
rate due to the load imposed by copying documents concurrently.
9-
After ``mongosync`` completes the initial sync, it applies changes
10-
faster and is more likely to maintain a position in the ``oplog``
11-
that is close to the real-time writes occuring on the source cluster.
7+
Starting in version 1.5.0, ``mongosync`` enables Oplog Rollover
8+
Resilience (ORR). With ORR, ``mongosync`` applies changes on the
9+
source cluster to the destination cluster during the initial sync. ORR
10+
increases the resilience of ``mongosync`` to oplog rollover but does not
11+
prevent rollover entirely.
12+
13+
You might exceed the oplog window if you:
14+
15+
- Sync from a high write rate source cluster for an extended
16+
period.
17+
- Pause sync for an extended period.
18+
19+
To increase the size of the ``oplog`` on the source cluster, use
20+
:setting:`~replication.oplogSizeMB`. For more information, see
21+
:ref:`Change Oplog Size <tutorial-change-oplog-size>` and
22+
:ref:`Workloads that Might Requre a Large Oplog Size
23+
<replica-set-large-oplog-required>`.
1224

13-
If you anticipate syncing a large data set, or if you plan to pause
14-
synchronization for an extended period of time, you might exceed the
15-
:term:`oplog window`. Use the :setting:`~replication.oplogSizeMB` setting
16-
to increase the size of the ``oplog`` on the source cluster.
1725

0 commit comments

Comments
 (0)