Skip to content

Commit ed7f50a

Browse files
authored
DOCSP-27579 lagTimeSecond fix (#245) (#250)
* DOCSP-27579 lagTimeSecond fix * Adds admoniiton * Fixes build issue * Fixes per Lauren
1 parent f0cfdad commit ed7f50a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

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

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
- If ``true``, indicates that writes are permitted on the
2525
destination cluster. Do not write to the destination cluster
2626
while ``canWrite`` is ``false``.
27-
27+
2828
Index validation continues until the :ref:`commit
29-
<c2c-api-commit>` is complete.
29+
<c2c-api-commit>` is complete.
3030

3131
* - ``info``
3232
- string
@@ -43,6 +43,12 @@
4343
- Time in seconds between the last applied event and time of the
4444
current latest event for this instance of ``mongosync``.
4545

46+
.. note::
47+
48+
``mongosync`` performs periodic no-op writes on the source cluster,
49+
which may prevent the value of the ``lagTimeSeconds`` field from
50+
reaching zero.
51+
4652
* - ``collectionCopy``
4753
- object
4854
- Describes the total amount of data being copied and the
@@ -58,8 +64,8 @@
5864
``.estimatedCopiedBytes``
5965
- integer
6066
- Estimated number of bytes which have been copied to the
61-
destination cluster by this ``mongosync`` instance.
62-
67+
destination cluster by this ``mongosync`` instance.
68+
6369
To calculate the total estimated progress as a percentage, add the value
6470
of the ``estimatedCopiedBytes`` field for each ``mongosync`` instance
6571
and divide the result by the value of the ``estimatedTotalBytes`` field
@@ -88,7 +94,7 @@
8894

8995
* - ``coordinatorID``
9096
- string
91-
- The identifier string for the coordinator instance.
97+
- The identifier string for the coordinator instance.
9298

9399
- When ``mongosync`` is coordinated by another instance, this field shows
94100
the identifier string for the coordinator instance.

0 commit comments

Comments
 (0)