Skip to content

Commit b1a1c79

Browse files
DOCSP-33577 progress output clarification (#174)
* DOCSP-33577 progress output clarification * Fixes per Ian * Fixes per Dave Rolsky * Fixes per Ashley Co-authored-by: Ashley Brown <[email protected]> --------- Co-authored-by: Ashley Brown <[email protected]>
1 parent b00b468 commit b1a1c79

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* - ``lagTimeSeconds``
4242
- integer
4343
- Time in seconds between the last applied event and time of the
44-
current latest event.
44+
current latest event for this instance of ``mongosync``.
4545

4646
* - ``collectionCopy``
4747
- object
@@ -51,13 +51,19 @@
5151
* - ``collectionCopy``
5252
``.estimatedTotalBytes``
5353
- integer
54-
- Estimated total number of bytes to be copied.
54+
- Estimated total number of bytes to be copied globally by all ``mongosync``
55+
instances.
5556

5657
* - ``collectionCopy``
5758
``.estimatedCopiedBytes``
5859
- integer
5960
- Estimated number of bytes which have been copied to the
60-
destination cluster.
61+
destination cluster by this ``mongosync`` instance.
62+
63+
To calculate the total estimated progress as a percentage, add the value
64+
of the ``estimatedCopiedBytes`` field for each ``mongosync`` instance
65+
and divide the result by the value of the ``estimatedTotalBytes`` field
66+
. Then, multiply the result by 100.
6167

6268
* - ``directionMapping``
6369
- object

0 commit comments

Comments
 (0)