@@ -16,16 +16,32 @@ You can finalize a migration and transfer your application
16
16
workload from the source to the destination cluster using the
17
17
:ref:`mongosync <c2c-mongosync>` cutover process.
18
18
19
- ``mongosync`` should remain active until it reaches the
20
- :ref:`COMMITTED <c2c-state-committed>` state. This allows ``mongosync`` to sync
21
- any additional writes that occur during the migration.
22
-
23
19
.. note::
24
20
25
21
Before you switch your application workload to the
26
22
destination cluster, you should always verify a successful sync.
27
23
For more information, see :ref:`c2c-verification`.
28
24
25
+ ``mongosync`` should remain active until it reaches the
26
+ :ref:`COMMITTED <c2c-state-committed>` state. This allows ``mongosync`` to sync
27
+ any additional writes that occur during the migration.
28
+
29
+ .. warning::
30
+
31
+ If you do not properly cutover from your source to your
32
+ destination, you may face the following issues:
33
+
34
+ - Inaccurate data on the destination cluster
35
+ - Unrecoverable and undiagnosable ``mongosync`` errors
36
+ - Reduced application availability, especially if there is
37
+ application-side enforcement of document schema or other
38
+ characteristics
39
+ - Incomplete transactions on the destination cluster
40
+ - Other unexpected cluster behavior
41
+
42
+ Use the following steps to safely finalize your cutover process and achieve
43
+ expected ``mongosync`` behavior.
44
+
29
45
Steps
30
46
-----
31
47
@@ -103,11 +119,13 @@ Steps
103
119
:language: json
104
120
:copyable: false
105
121
106
- .. note::
122
+ After you submit a ``commit`` request, call the ``progress`` endpoint
123
+ to ensure that the ``mongosync`` state is ``COMMITTING`` or
124
+ ``COMMITTED``.
125
+
126
+ .. warning::
107
127
108
- After you submit a ``commit`` request, call the ``progress`` endpoint
109
- to ensure that the ``mongosync`` state is ``COMMITTING`` or
110
- ``COMMITTED``.
128
+ .. include:: /includes/cluster-shutdown-warning
111
129
112
130
.. step:: Wait until you can perform writes on the destination cluster.
113
131
0 commit comments