-
Notifications
You must be signed in to change notification settings - Fork 38
DOCSP-48525-disaster-recovery-faq-entry #679
Changes from 6 commits
93f6f46
f158015
2edf50b
9718c06
a3fc730
08f0d4e
e45c698
eb2f63f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,8 @@ Can I change the load level while ``mongosync`` is syncing? | |
Yes, you can adjust the cluster workload level during a migration by | ||
following the steps in :ref:`c2c-reconfigure-mid-migration`. | ||
|
||
.. _c2c-faq-reads-writes-mongosync: | ||
|
||
Can I perform reads or writes to my destination cluster while ``mongosync`` is syncing? | ||
--------------------------------------------------------------------------------------- | ||
|
||
|
@@ -232,4 +234,11 @@ Can I customize chunk distributions when syncing into a sharded cluster? | |
No, you can't configure ``mongosync`` to customize chunk distributions | ||
on a destination sharded cluster. ``mongosync`` samples each collection | ||
during initialization to determine how to distribute documents | ||
efficiently across the destination cluster’s shards after migration. | ||
efficiently across the destination cluster’s shards after migration. | ||
|
||
Can I use ``mongosync`` to set up a Disaster Recovery cluster? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. on second thought, it's better to say "maintain" instead of "set up" here, since the key issue is the lack of an ability to keep the cluster up to date with the source |
||
-------------------------------------------------------------- | ||
|
||
No, you can't currently set up a Disaster Recovery cluster with ``mongosync``, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "set up" -> "maintain" |
||
since ``mongosync`` **must commit** in order to safely accept traffic to the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
destination cluster. For more information, see :ref:`c2c-faq-reads-writes-mongosync`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Until you've called commit on ``mongosync`` and ``canWrite`` successfully | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
returns ``true``, the destination cluster cannot be used to accept | ||
application read or write traffic. | ||
Do not use ``mongosync`` for maintaining Disaster Recovery clusters. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,6 +219,10 @@ For any continuous synchronization use cases with ``mongosync``, ensure that | |
``mongosync`` commits before cutting over from the source to the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this line starting with "For any continuous synchronization" is now redundant with the new textbox so we can remove it. |
||
destination. | ||
|
||
.. important:: | ||
|
||
.. include:: /includes/fact-no-mongosync-disaster-recovery.rst | ||
|
||
If the source cluster shuts down before ``mongosync`` can commit, such as in | ||
a disaster scenario, the destination cluster might not have a consistent | ||
snapshot of the source data. To learn more, see :ref:`c2c-behavior-consistency`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add this as the question right under "Can I perform reads or writes to my destination cluster while mongosync is syncing?" ?