Skip to content

Commit 48fd602

Browse files
authored
DOCSP-41999-mongosync-disaster-recovery (#377) (#413)
* DOCSP-41999-mongosync-dr * add redirect + build errors * build error * rebase * add 1.8 to redirects * remove output.txt * MvK feedback * * * * * move considerations section * typo * MvK feedback (2/2) * more external review * faq edits * * * MvK feedback (2/2) * more feedback * * * add table * * * formatting * * * * * * * wording * * * title * * * nit * change uptodate to consisten
1 parent fe7ab66 commit 48fd602

File tree

6 files changed

+99
-261
lines changed

6 files changed

+99
-261
lines changed

config/redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ raw: ${prefix}/current/installation/install-on-windows/ -> ${base}/current/
5151
[v0.9]: ${prefix}/${version}/release-notes/1.0 -> ${base}/${version}/release-notes/
5252
[v0.9]: ${prefix}/${version}/release-notes/1.1 -> ${base}/${version}/release-notes/
5353
[v0.9]: ${prefix}/${version}/release-notes/1.2 -> ${base}/${version}/release-notes/
54+
55+
# DOCSP-41999 redirect disaster recovery to mongosync behavior page
56+
[*]: ${prefix}/${version}/reference/disaster-recovery -> ${base}/${version}/about-mongosync/#considerations-for-continuous-sync

source/faq.txt

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,18 @@ Support.
2020
Can I perform reads or writes to my destination cluster while ``mongosync`` is syncing?
2121
---------------------------------------------------------------------------------------
2222

23-
You can perform reads during synchronization if ``canCommit`` is ``true``.
24-
However, the data that you read is
25-
:term:`eventually consistent <eventual consistency>`, meaning that you might not
26-
always read the latest writes.
23+
You can perform reads during synchronization at any time. However, the data
24+
that you read is :term:`eventually consistent <eventual consistency>`. For
25+
consistent reads, wait for the migration to commit. To learn more, see
26+
:ref:`mongosync-considerations`.
2727

28-
During an ongoing sync, you can write to any non-synced namespaces in the
29-
destination cluster as long as the source cluster doesn’t include a namespace
30-
with the same name. If you write to a synced namespace before issuing a
31-
:ref:`commit <c2c-api-commit>` and while ``canWrite`` is ``false``, the behavior
32-
is undefined. To avoid this undefined behavior, you can enable
33-
:ref:`write blocking <c2c-dr-write-blocking>`.
28+
If you write to a synced namespace before issuing a :ref:`commit
29+
<c2c-api-commit>` and while ``canWrite`` is ``false``, the behavior is
30+
undefined. To ensure that you don't write to any synced namespaces, denable
31+
:ref:`write blocking <c2c-write-blocking>`.
3432

35-
To check the value of ``canCommit`` or ``canWrite``, call the :ref:`progress
36-
<c2c-api-progress>` API endpoint.
33+
To check the value of ``canWrite``, call the :ref:`progress <c2c-api-progress>`
34+
API endpoint.
3735

3836
Can ``mongosync`` run on its own hardware?
3937
------------------------------------------
@@ -86,10 +84,10 @@ Which security and authentication options are supported?
8684
authentication options, see :ref:`authentication`.
8785

8886

89-
Can I configure ``mongosync`` for high availability?
90-
----------------------------------------------------
87+
Does ``mongosync`` automatically restart on error?
88+
--------------------------------------------------
9189

92-
There is no automatic failover built into ``mongosync``. However you
90+
``mongosync`` does not automatically restart on error. However, you
9391
can write a script or use your operating system's process managers,
9492
``systemd`` for example, to restart the ``mongosync`` process.
9593

source/reference.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ Reference
2222
:ref:`c2c-oplog-sizing`
2323
Increase the size of the oplog on the source cluster for large data
2424
sets.
25-
26-
:ref:`c2c-failure-recovery`
27-
Prepare for disaster recovery using :ref:`connections
28-
<c2c-connecting>` between clusters.
2925

3026
:ref:`c2c-limitations`
3127
Limitations of ``mongosync``.
@@ -58,7 +54,6 @@ Reference
5854
Filtered Sync </reference/collection-level-filtering>
5955
oplog Sizing </reference/oplog-sizing>
6056
Finalize Cutover Process </reference/cutover-process>
61-
Disaster Recovery </reference/disaster-recovery>
6257
Limitations </reference/limitations>
6358
Logging </reference/logging>
6459
User Permissions </reference/permissions>

source/reference/api/commit.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,30 +153,29 @@ characteristics that ``mongosync`` alters during the synchronization process.
153153

154154
* - Collection Characteristic
155155
- Impact of ``commit``
156-
* - :ref:`Unique Indexes <c2c-dr-unique>`
156+
* - Unique Indexes
157157
- ``commit`` resets unique indexes that ``mongosync`` replicated as
158158
non-unique on the destination cluster.
159159

160-
* - :ref:`TTL Indexes <c2c-dr-ttl>`
160+
* - TTL Indexes
161161
- ``commit`` resets ``expireAfterSeconds`` which ``mongosync`` set
162162
to the value of ``MAX_INT`` on the destination cluster.
163163

164-
* - :ref:`Hidden Indexes <c2c-dr-hidden>`
164+
* - Hidden Indexes
165165
- ``commit`` resets hidden indexes that ``mongosync``
166166
replicated as non-hidden on the destination cluster.
167167

168-
* - :ref:`Write Blocking <c2c-dr-write-blocking>`
168+
* - Write Blocking
169169
- If you enable write-blocking, ``mongosync`` blocks writes:
170170

171171
- On the destination cluster during sync.
172172
- On the source cluster when ``commit`` is received.
173173

174174
.. seealso::
175175

176-
- :ref:`c2c-failure-recovery`
177-
- :ref:`c2c-write-blocking`
176+
:ref:`c2c-write-blocking`
178177

179-
* - :ref:`Capped Collections <c2c-dr-capped-collections>`
178+
* - Capped Collections
180179
- ``commit`` resets the required maximum size of capped collections
181180
which ``mongosync`` set to the maximum allowable size on the
182181
destination cluster.

source/reference/disaster-recovery.txt

Lines changed: 0 additions & 226 deletions
This file was deleted.

0 commit comments

Comments
 (0)