Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions source/includes/api/tables/progress-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,20 @@

* - ``lagTimeSeconds``
- integer
- Time in seconds between the last applied event and time of the
current latest event for this instance of ``mongosync``.
- Time difference in seconds between the latest event timestamp that
``mongosync`` applied to the destination cluster and the latest
timestamp on the source cluster for this instance of ``mongosync``.

.. note::

``mongosync`` performs periodic no-op writes on the source cluster,
which may prevent the value of the ``lagTimeSeconds`` field from
reaching zero.
reaching zero until ``mongosync`` commits the migration.

Due to constant no-ops on the source cluster, the time difference
is often a few seconds above zero, even if there are no real
writes on the source cluster. The time difference becomes zero
when ``mongosync`` commits the migration.

* - ``collectionCopy``
- object
Expand Down
2 changes: 1 addition & 1 deletion source/reference/api/progress.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Request
Response
--------

The ``progress`` endpoint returns etiher an updated status or an error.
The ``progress`` endpoint returns either an updated status or an error.

Successful Response
~~~~~~~~~~~~~~~~~~~
Expand Down