File tree Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 3
3
{
4
4
"state" :" RUNNING" ,
5
5
"canCommit" :true ,
6
+ "canWrite" :false ,
6
7
"info" :" change event application" ,
7
8
"lagTimeSeconds" :0 ,
8
9
"collectionCopy" :
Original file line number Diff line number Diff line change 1
1
.. list-table ::
2
2
:header-rows: 1
3
3
:stub-columns: 1
4
- :widths: 20 14 66
4
+ :widths: 20 20 60
5
5
6
6
* - Field
7
7
- Type
18
18
request will succeed. This also means that the initial sync has
19
19
completed and is applying change events.
20
20
21
+ * - ``canWrite ``
22
+ - boolean
23
+ - If ``true ``, indicates that it is possible to write to the
24
+ destination cluster. Index validation continues until the
25
+ :ref: `commit <c2c-api-commit >` is complete.
26
+
21
27
* - ``info ``
22
28
- string
23
29
- Provides extra information on the synchronization progress.
Original file line number Diff line number Diff line change @@ -32,6 +32,18 @@ All response fields are wrapped in a top-level ``progress`` object.
32
32
33
33
.. include:: /includes/api/tables/progress-response.rst
34
34
35
+ Behavior
36
+ --------
37
+
38
+ - When ``mongosync`` is in the ``IDLE`` state, all output
39
+ fields except ``state`` and ``canCommit`` are ``null``.
40
+
41
+ - When ``mongosync`` is in the ``PAUSED`` state, the
42
+ ``lagTimeSeconds`` field is ``null``.
43
+
44
+ - The endpoint does not auto-refresh. To get updated status, call the
45
+ ``progress`` endpoint again.
46
+
35
47
Example
36
48
-------
37
49
@@ -50,15 +62,3 @@ Response
50
62
:language: json
51
63
:copyable: false
52
64
53
- Behavior
54
- --------
55
-
56
- - When ``mongosync`` is in the ``IDLE`` state, all output
57
- fields except ``state`` and ``canCommit`` are ``null``.
58
-
59
- - When ``mongosync`` is in the ``PAUSED`` state, the
60
- ``lagTimeSeconds`` field is ``null``.
61
-
62
- - The endpoint does not auto-refresh. To get updated status, call the
63
- ``progress`` endpoint again.
64
-
You can’t perform that action at this time.
0 commit comments