Skip to content

Commit d50b57d

Browse files
authored
DOCSP-45965: Embedded Verifier: Verify Reversible Migrations (#549)
* reversal changes * adding info * updating start * feedback * stub column, title * table formatting * remove backup
1 parent 07d7b47 commit d50b57d

File tree

7 files changed

+38
-41
lines changed

7 files changed

+38
-41
lines changed

source/includes/fact-verifier-limitations.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ The embedded verifier has the following limitations:
2222
verification process restarts from the beginning. This can
2323
cause verification to fall substantially behind the migration.
2424

25-
- The :ref:`/reverse <c2c-api-reverse>` endpoint disables the
26-
verifier. It remains disabled after additional calls to the
27-
``/reverse`` endpoint.
28-
2925
- .. include:: /includes/fact-verifier-buildIndexes
3026

3127
Unsupported Verification Checks

source/includes/table-permissions-atlas.rst

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,21 @@
44
55
.. list-table::
66
:header-rows: 1
7+
:stub-columns: 1
78

89
* - Sync Type
9-
- Target
10-
- Required Permissions
10+
- Required Source Permissions
11+
- Required Destination Permissions
1112

1213
* - default
13-
- source cluster
14-
-
15-
16-
- atlasAdmin
17-
18-
* - default
19-
- destination cluster
20-
-
21-
22-
- atlasAdmin
23-
24-
* - write-blocking or reversing
25-
- source cluster
26-
-
27-
28-
- atlasAdmin
29-
- bypassWriteBlockMode privilege
30-
31-
* - write-blocking or reversing
32-
- destination cluster
33-
-
34-
35-
- atlasAdmin
36-
- bypassWriteBlockMode privilege
14+
- - atlasAdmin
15+
- - atlasAdmin
16+
17+
* - write-blocking, reversing, or multiple reversals
18+
- - atlasAdmin
19+
- bypassWriteBlockMode privilege
20+
- - atlasAdmin
21+
- bypassWriteBlockMode privilege
3722

3823
For details on Atlas roles, see: :atlas:`Atlas User Roles
3924
</reference/user-roles/>`.

source/includes/table-permissions-self-hosted.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@
4747
- :authrole:`readWriteAnyDatabase`
4848
- :authrole:`restore`
4949

50+
* - Multiple Reversals
51+
- - :authrole:`backup`
52+
- :authrole:`clusterManager`
53+
- :authrole:`clusterMonitor`
54+
- :authrole:`dbAdminAnyDatabase`
55+
- :authrole:`readWriteAnyDatabase`
56+
- :authrole:`restore`
57+
58+
- - :authrole:`backup`
59+
- :authrole:`clusterManager`
60+
- :authrole:`clusterMonitor`
61+
- :authrole:`dbAdminAnyDatabase`
62+
- :authrole:`readWriteAnyDatabase`
63+
- :authrole:`restore`
64+
5065
For details on server roles, see: :ref:`authorization`.
5166

5267
To update user permissions, see: :dbcommand:`grantRolesToUser`.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
In version 1.10, ``mongosync`` enables the embedded verifier for
2+
forward and reverse directions of reversible migrations.

source/reference/api/reverse.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,7 @@ Embedded Verifier
159159
~~~~~~~~~~~~~~~~~
160160

161161
The embedded verifier is enabled by default for replica set
162-
migrations and performs verification checks for the forward
163-
direction of reversible sync. When you call the ``/reverse``
164-
endpoint, ``mongosync`` disables the verifier. The verifier
165-
remains disabled, even after additional calls to the
166-
``/reverse`` endpoint.
162+
migrations.
167163

168164
Endpoint Protection
169165
~~~~~~~~~~~~~~~~~~~

source/reference/api/start.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ Request Body Parameters
167167

168168
* Reversible sync when ``buildIndexes`` is set to ``never``.
169169

170-
* Reversible sync with the embedded verifier. The
171-
verifier supports the initial forward direction of
172-
reversible sync. When you call the ``/reverse``
173-
endpoint it disables the verifier.
174-
175170
For more information, see the :ref:`reverse <c2c-api-reverse>` endpoint.
176171

177172
Default value is ``false``.

source/release-notes/1.10.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,12 @@ Release Notes for mongosync 1.10
1717
.. _1.10.0-c2c-release-notes:
1818

1919
This page describes changes and new features introduced in
20-
{+c2c-full-product-name+} 1.10.
20+
{+c2c-full-product-name+} 1.10.
21+
22+
1.10.0 Release
23+
--------------
24+
25+
Upgrades to Embedded Verifier
26+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27+
28+
- .. include:: /includes/verify-reversible-migrations.rst

0 commit comments

Comments
 (0)