Skip to content

Commit 07d7b47

Browse files
authored
DOCSP-46429 disableVerification (#561)
* DOCSP-46429 disableVerification Option
1 parent e590276 commit 07d7b47

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
Disables the :ref:`Embedded Verifier <c2c-embedded-verifier>`.
3+
When disabled, ``mongosync`` does not verify the migration. For
4+
alternative verification methods, see :ref:`c2c-verification`.
5+
6+
This option provides a workaround for customers who
7+
experience OOM kills when running ``mongosync`` with
8+
verification and cannot allocate more resources or tolerate
9+
restarting verification. It allows the migration to complete
10+
with verification disabled. Verification remains disabled
11+
for subsequent restarts and reversals.
12+
13+
This option should not be used when ``mongosync`` is initially
14+
started. Instead, disable verification with the :ref:`/start
15+
<c2c-api-start>` request parameter ``verification.enabled:
16+
false`` since verification is enabled by default.
17+

source/reference/configuration.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,17 @@ To configure ``mongosync`` from the command line, see :ref:`c2c-cli-options`.
103103
For more information, see :ref:`User Data Collection
104104
<c2c-telemetry>`.
105105

106+
.. setting:: disableVerification
107+
108+
*Type*: boolean
109+
110+
.. include:: /includes/opts/disableVerification
111+
112+
To disable verification from the command-line, see
113+
the :option:`--disableVerification` option.
114+
115+
.. versionadded:: 1.10
116+
106117
.. setting:: id
107118

108119
*Type*: string
@@ -228,4 +239,4 @@ by performing the following steps:
228239
For more detailed instructions, see :ref:`c2c-quickstart-synchronize`.
229240

230241
``mongosync`` resumes the sync roughly where it was before you stopped the earlier proceses.
231-
Any partitions that were in progress at the time of termination will restart from the beginning.
242+
Any partitions that were in progress at the time of termination will restart from the beginning.

source/reference/mongosync.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@ Global Options
131131
For more information, see :ref:`User Data Collection
132132
<c2c-telemetry>`.
133133

134+
.. option:: --disableVerification
135+
136+
.. include:: /includes/opts/disableVerification
137+
138+
To disable verification from the configuration file, see the
139+
:setting:`disableVerification` setting.
140+
141+
.. versionadded:: 1.10
142+
134143
.. option:: --help, -h
135144

136145
Prints usage information to stdout.

0 commit comments

Comments
 (0)