File tree Expand file tree Collapse file tree 4 files changed +33
-5
lines changed Expand file tree Collapse file tree 4 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 5555 writes on the source cluster. The time difference becomes zero
5656 when ``mongosync `` commits the migration.
5757
58+ * - ``totalEventsApplied ``
59+ - integer
60+ - The approximate number of change events this instance of
61+ ``mongosync `` has applied to the destination cluster.
62+
63+ This value may not be an accurate representation of the total
64+ number of events because it is not persisted and it omits
65+ certain events from the count.
66+
5867 * - ``collectionCopy ``
5968 - object
6069 - Estimates the total amount of data being copied from collections and the
Original file line number Diff line number Diff line change @@ -64,7 +64,25 @@ Behavior
6464
6565- The endpoint does not auto-refresh. To get updated status, call the
6666 ``progress`` endpoint again.
67-
67+
68+ - Calls to ``/progress`` before ``mongosync`` reaches the collection
69+ copy phase return 0 for ``estimatedCopiedBytes`` and 1 for
70+ ``estimatedTotalBytes``.
71+
72+ - ``estimatedTotalBytes`` may change throughout the collection copy
73+ phase if documents are inserted or deleted on the source cluster.
74+
75+ - ``estimatedCopiedBytes`` is never greater than
76+ ``estimatedTotalBytes``. Progress reaches 100% at the end of the
77+ collection copy phase (``estimatedCopiedBytes`` =
78+ ``estimatedTotalBytes``).
79+
80+ - When performing a live upgrade from an earlier version to 1.8.0 or
81+ higher, the collection copy data starts over from
82+ ``[0 bytes copied / 1 bytes total]``. After a live upgrade,
83+ ``/progress`` only reports the progress of data copied after the
84+ upgrade completed.
85+
6886 .. include:: /includes/fact-restart-resume-delay.rst
6987
7088Endpoint Protection
Original file line number Diff line number Diff line change @@ -452,9 +452,10 @@ Indexes that are always built include:
452452* ``mongosync`` builds an index on the ``_id`` field of every
453453 collection it copies.
454454
455- * ``mongosync`` builds dummy indexes that support the shard key for each
456- sharded collection, which are removed after commit. When ``buildIndexes`` is
457- set to ``never``, ``mongosync`` retains this index after commit.
455+ * ``mongosync`` builds dummy indexes for each sharded collection that
456+ does not have an index to support the shard key on the destination
457+ cluster. When ``buildIndexes`` is set to ``never``, ``mongosync``
458+ retains this index after commit.
458459
459460
460461Endpoint Protection
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ The data ``mongosync`` reports includes:
2929- The estimated number of bytes ``mongosync`` copies
3030- The estimated number of events ``mongosync`` applies
3131- The request body sent to :ref:`c2c-api-start` calls
32+ - Hostnames
3233
3334``mongosync`` does not track:
3435
3536- IP addresses
36- - Hostnames
3737- Usernames
3838- Login credentials
3939- Connection strings
You can’t perform that action at this time.
0 commit comments