Skip to content

Commit e69d28f

Browse files
authored
DOCSP-40138-Mongosync-Delay-After-Resume-Restart (#343)
* DOCSP-40138-Mongosync-Delay-After-Resume-Restart * add 1.8 to toc * * * * * JA feedback * add retry bit
1 parent 8f40799 commit e69d28f

File tree

7 files changed

+21
-3
lines changed

7 files changed

+21
-3
lines changed

Diff for: source/faq.txt

+2
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ available again, restart the ``mongosync`` process with the same
102102
parameters. ``mongosync`` resumes the operation from where it stopped
103103
when ``mongosync`` became unavailable.
104104

105+
.. include:: /includes/fact-restart-resume-delay.rst
106+
105107
Can the source or destination be a replica set with arbiters?
106108
-------------------------------------------------------------
107109

Diff for: source/includes/fact-restart-resume-delay.rst

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. note::
2+
3+
Starting in ``mongosync`` 1.7.3, ``mongosync`` can take at least two minutes
4+
to respond when you resume or restart a sync operation. During this time,
5+
any calls to the :ref:`c2c-api-progress` endpoint might fail. If a
6+
``progress`` call fails, it is safe to retry.

Diff for: source/reference/api/progress.txt

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ Behavior
6464

6565
- The endpoint does not auto-refresh. To get updated status, call the
6666
``progress`` endpoint again.
67+
68+
.. include:: /includes/fact-restart-resume-delay.rst
6769

6870
Endpoint Protection
6971
~~~~~~~~~~~~~~~~~~~

Diff for: source/reference/api/resume.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,13 @@ Response
7171
Behavior
7272
--------
7373

74+
- When you send a ``resume`` request, ``mongosync`` might take at least two
75+
minutes before resuming the migration. To see if the migration resumed, you
76+
can call the :ref:`c2c-api-progress` endpoint.
77+
7478
- If the ``resume`` request is successful, ``mongosync`` enters the
7579
``RUNNING`` state.
7680

77-
- When you send a ``resume`` request, there may be a delay of up to a
78-
few minutes before ``mongosync`` resumes the migration.
79-
8081
Endpoint Protection
8182
~~~~~~~~~~~~~~~~~~~
8283

Diff for: source/reference/mongosync-states.txt

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ To view the current state of ``mongosync``, use the :ref:`/progress
2626
<c2c-api-progress>`. endpoint. The :ref:`/progress <c2c-api-progress>`
2727
endpoint returns the state in the ``state`` field.
2828

29+
.. include:: /includes/fact-restart-resume-delay.rst
30+
2931
.. _c2c-states-descriptions:
3032

3133
State Descriptions

Diff for: source/release-notes.txt

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Previous Rapid Releases
3838
.. toctree::
3939
:titlesonly:
4040

41+
/release-notes/1.8
4142
/release-notes/1.7
4243
/release-notes/1.6
4344
/release-notes/1.5

Diff for: source/release-notes/1.7.txt

+4
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ Issues Fixed:
7070
events when mongosync is interrupted and resumed. This is an unlikely
7171
edge case.
7272

73+
Other Changes:
74+
75+
- Adds a two minute delay when restarting and resuming sync operations.
76+
7377
Limitations:
7478

7579
- You must stop the balancer on both the source and destination sharded

0 commit comments

Comments
 (0)