Skip to content

Commit 0e28c95

Browse files
committed
DOCSP-48421-clarify-verifier-lag-time (mongodb#673)
* DOCSP-48421-clarify-verifier-lag-time * build error * reviewer update * fix render (cherry picked from commit 3fb8e0b)
1 parent da18b83 commit 0e28c95

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

source/includes/api/tables/progress-response.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@
5353
writes on the source cluster. The time difference becomes zero
5454
when ``mongosync`` commits the migration.
5555

56+
With the introduction of the :ref:`embdedded verfier<c2c-embedded-verifier>`
57+
in version 1.9, there are three different ``lagTimeSeconds`` fields whenever
58+
embedded verification is enabled:
59+
60+
- ``lagTimeSeconds`` for ``mongosync``
61+
- ``lagTimeSeconds`` for the source cluster for the verifier
62+
- ``lagTimeSeconds`` for the destination cluster for the verifier
63+
64+
When embdedded verification is disabled, ``lagTimeSeconds`` only applies
65+
to ``mongosync``.
66+
5667
* - ``totalEventsApplied``
5768
- integer
5869
- The approximate number of change events this instance of

source/reference/api/commit.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ Before using the ``commit`` endpoint:
3636
- Use the :ref:`progress <c2c-api-progress>` endpoint to confirm the
3737
following values:
3838

39-
- ``lagTimeSeconds`` is near ``0`` (*Recommended, but not required*)
39+
- ``lagTimeSeconds`` for ``mongosync``, the source cluster
40+
for the verifier, and the destination cluster for the
41+
verifier are all near ``0`` (*Recommended, but not required*)
4042

4143
.. note:: lagTimeSeconds
4244

@@ -49,6 +51,9 @@ Before using the ``commit`` endpoint:
4951
When ``lagTimeSeconds`` is ``0``, the source and destination
5052
clusters are in a consistent state.
5153

54+
For more information on the ``lagTimeSeconds`` fields, see
55+
:ref:`c2c-api-progress`.
56+
5257
- ``state: "RUNNING"``
5358
- ``canCommit: true``
5459

0 commit comments

Comments
 (0)