Skip to content

Commit 74a6955

Browse files
author
Dave Cuthbert
authored
DOCSP-23352 wait for index conversion (#63)
* DOCSP-23352 wait for index conversion * Staging fixes * Review feedback * Review feedback * Staging fixes
1 parent e9f16d1 commit 74a6955

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

source/reference/mongosync.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,24 @@ Global Options
119119
Behavior
120120
--------
121121

122+
Commit
123+
~~~~~~
124+
125+
To stop synchronizing, use the :ref:`commit <c2c-api-commit>` command
126+
on the destination cluster to convert indexes and finalize the changes.
127+
While ``commit`` is running:
128+
129+
- Writes are blocked on the source cluster.
130+
- Writes are blocked on the destination cluster until ``mongosync``
131+
begins index validation.
132+
133+
To monitor the ``commit`` process, use the :ref:`progress
134+
<c2c-api-progress>` command:
135+
136+
- The destination cluster is writable when ``canWrite`` is true.
137+
- Index conversion is complete when ``mongosync`` enters the
138+
``COMMITTED`` state.
139+
122140
.. _c2c-mongosync-config:
123141

124142
Configuration File

0 commit comments

Comments
 (0)