Skip to content

Commit 2764e6d

Browse files
author
Dave Cuthbert
authored
DOCSP-26789 duplicate note box (#100)
* DOCSP-26789 duplicate note box * Review feedback
1 parent 91fc43d commit 2764e6d

File tree

4 files changed

+20
-14
lines changed

4 files changed

+20
-14
lines changed

source/includes/fact-atlas-roles.rst

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
11
The user specified in the connection string must have, at a minimum, the
22
:atlasrole:`atlasAdmin` role.
33

4-
.. note::
5-
6-
To use ``mongosync`` in the :ref:`reverse direction <c2c-api-reverse>`,
7-
you must :atlas:`create a custom role
8-
</reference/api/custom-roles-create-a-role>` that grants the
9-
following ActionTypes:
10-
11-
- :authaction:`setUserWriteBlockMode`
12-
- :authaction:`bypassWriteBlockingMode`
13-
14-
The ``setUserWriteBlockMode`` and ``bypassWriteBlockingMode``
15-
ActionTypes are available starting in MongoDB 6.0. To create the custom
16-
roles, all clusters in a project must be on MongoDB 6.0 or higher.
17-
4+
.. include:: /includes/fact-reverse-sync-action-types.rst
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. note::
2+
3+
To use ``mongosync`` in the :ref:`reverse direction <c2c-api-reverse>`,
4+
you must :atlas:`create a custom role
5+
</reference/api/custom-roles-create-a-role>` that grants the
6+
following ActionTypes:
7+
8+
- :authaction:`setUserWriteBlockMode`
9+
- :authaction:`bypassWriteBlockingMode`
10+
11+
The ``setUserWriteBlockMode`` and ``bypassWriteBlockingMode``
12+
ActionTypes are available starting in MongoDB 6.0. To create the custom
13+
roles, all clusters in a project must be on MongoDB 6.0 or higher.
14+

source/quickstart.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ Synchronization Notes
245245
.. literalinclude:: /includes/api/requests/reverse.sh
246246
:language: shell
247247

248+
.. include:: /includes/fact-reverse-sync-action-types.rst
249+
248250
- You may need to increase the file descriptor ``ulimits`` on the host
249251
that is running ``mongosync``. This applies to any UNIX-like system,
250252
but macOS in particular has low defaults. See :ref:`UNIX ulimit
@@ -253,3 +255,4 @@ Synchronization Notes
253255
- To estimate the size of ``oplog`` needed for initial synchronization,
254256
see: :ref:`c2c-oplog-sizing`.
255257

258+

source/reference/api/reverse.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ To use the ``reverse`` endpoint:
4747
:ref:`resync <resync-replica-member>` all of the nodes in the
4848
original source cluster before reversing.
4949

50+
.. include:: /includes/fact-reverse-sync-action-types.rst
51+
5052
Request
5153
-------
5254

0 commit comments

Comments
 (0)