Skip to content

Commit 0534b26

Browse files
ajhuh-mdbjason-price-mongodbjason-price-mongodbltran-mdb2ianf-mongodb
authored
C2C Beta Docs (#370) (#375)
* C2C Beta Docs (#370) * DOCSP-29504-many-to-one-clusters (#161) * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters * DOCSP-29504-many-to-one-clusters --------- Co-authored-by: jason-price-mongodb <[email protected]> * DOCSP-31603 Document Filtering (#319) * DOCSP-31603 Document Filtering * more copy edits * example + learn more links * edit start description * add version added tag to start api page * JM feedback * FG tech feedback * formatting adjustments * external feedback * build error * link beta page * repeat * nits for readability * syntax nit * learn more link * DOCSP-38285 Beta Program Landing Page (#314) * DOCSP-39095 adding atlas search indexes limitation (#312) * DOCSP-39095 adding atlas search indexes limitation * DOCSP-39095 tech edit * DOCSP-39095 tech edit * DOCSP-39095 tech edit * DOCSP 39098 Recommend limiting DDL operations during a sync (#311) * DOCSP-39098 Recommend limiting DDL operations during a sync * DOCSP-39098 ddl warning * DOCSP-39098 ddl warning * DOCSP-39098 ddl warning * DOCSP-39098 tech edit * DOCSP-39098 tech edit * DOCSP-38018 Add Note Mongosync Cannot Mid Upgrade (#307) * DOCSP-38018 Add Note Mongosync Cannot Mid Upgrade * DOCSP-38018 Add Upgrade Consideraton * XR * DOCSP-38696 Add faq regarding fatal errors (#305) * DOCSP-38696 add faq * DOCSP-38696 jason feedback * DOCSP-39594 View Clarification (#321) * DOCSP-39211 reverse update (#320) * DOCSP-39211 reverse update * Fixes per Ajay * DOCSP-38285 Beta Program Landing Page * move toc item * add 1.8 to toc * render * snooty * feature table * swap order * stage disclaimer * move disclaimer + add intro text * get started section * beta program landing edits * conflicts * add beta flag + documetn filtering content * build errors * * * * * adjust TOC * JD feedback * JD nit --------- Co-authored-by: ltran-mdb2 <[email protected]> Co-authored-by: ianf-mongodb <[email protected]> Co-authored-by: jocelyn-mendez1 <[email protected]> Co-authored-by: Kenneth P. J. Dyer <[email protected]> * DOCSP-40106 C2C Beta Disclaimer (#329) * DOCSP-40106 C2C Beta Disclaimer * * * formatting * formatting more * remove copyable code * * * * * * * nit * DOCSP-38289-dest-data-flag (#318) * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag * DOCSP-38289-dest-data-flag --------- Co-authored-by: jason-price-mongodb <[email protected]> * DOCSP-38289-add-description-destination-handling (#333) Co-authored-by: jason-price-mongodb <[email protected]> * DOCSP-40749-many-to-one-limitation (#334) * DOCSP-40749-many-to-one-limitation * DOCSP-40749-many-to-one-limitation * DOCSP-40749-many-to-one-limitation --------- Co-authored-by: jason-price-mongodb <[email protected]> * DOCSP-40077 ABC Migrations + Migration Name Reference Page (#332) * DOCSP-40077 ABC Migrations * more edits + use cases * release notes * move content to own reference pages * build errors * nits * rename "many with one" to "many to one" * rebase * fix title names * build error * staging issue * SO feedback * data loss warning * typo * DOCSP-38286 Enable ORR (#335) * DOCSP-38286 Enable ORR * add to rn * add beta version * nit * * * final edits * SO feedback, monospace consistency * more edits * ED feedback * ED more feedback * DOCSP-39059 namespace remap (#359) * DOCSP-39059 Namespace Remap * Adds request/response example * Adds request/response example * Adds RN * Adds to/from to the start parameters * Adds to/from to the start parameters * Adds to/from to the start parameters * Adds namespace page todos * Adds syntax * Fixes typo * Procedure * Procedure * Request parameters * Request parameters * Links * Minor edit * Fixes per Jonathan Wilson * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * Fixes build issue * Fixes per Jessica * Fixes per Jessica * Fixes per Jessica * update beta-program branch (#366) * DOCSP-39095 adding atlas search indexes limitation (#312) * DOCSP-39095 adding atlas search indexes limitation * DOCSP-39095 tech edit * DOCSP-39095 tech edit * DOCSP-39095 tech edit * DOCSP 39098 Recommend limiting DDL operations during a sync (#311) * DOCSP-39098 Recommend limiting DDL operations during a sync * DOCSP-39098 ddl warning * DOCSP-39098 ddl warning * DOCSP-39098 ddl warning * DOCSP-39098 tech edit * DOCSP-39098 tech edit * DOCSP-38018 Add Note Mongosync Cannot Mid Upgrade (#307) * DOCSP-38018 Add Note Mongosync Cannot Mid Upgrade * DOCSP-38018 Add Upgrade Consideraton * XR * DOCSP-38696 Add faq regarding fatal errors (#305) * DOCSP-38696 add faq * DOCSP-38696 jason feedback * DOCSP-39594 View Clarification (#321) * DOCSP-39211 reverse update (#320) * DOCSP-39211 reverse update * Fixes per Ajay * (DOCSP-40128): v1.7.3 release updates (#326) * (DOCSP-40128): v1.7.3 release notes * more updates * fix * fix * address review comments * DOCSP-38358 populating empty pages (#324) * DOCSP-38358 populating empty pages * DOCSP-38358 fixing spacing * DOCSP-38358 populating empty pages * DOCSP-38358 populating empty pages * DOCSP-38358 populating empty pages * DOCSP-38358 populating empty pages * DOCSP-38358 copy edits * DOCSP-38358 copy edits * DOCSP-38358 tech edits * DOCSP-38358 tech edits * (DOCSP-40657): Clarify patch releases for version support (#330) * (DOCSP-40657): Clarify patch releases for version support * typo * DOCSP-39156 Critical Advisory (#336) * DOCSP-39156 Critical Advisory * Adds header-rows field * Adds header-rows field * Adjusts column widths * Adjusts column widths * Adjusts column widths * Adjusts column widths * Adjusts column widths * Adds RN entries * Reworks for includes * Reworks for includes * Reworks for includes * Reworks for includes * Fixes per Sarah * Fixes per Rachael * Fixes per Rachael * Fixes per Rachael * Fixes per Rohan * Fixes per Tim * DOCSP-40742-disaster-recovery-page-updates (#340) * DOCSP-40742-disaster-recovery-page-updates * JP nit * ED nit * DOCS-41102 added code snippets cutover page (#341) * DOCS-41102 * DOCSP-41102 added to quickstart * DOCSP-41102 * 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 * DOCSP-41355 live upgrade updates (#349) * DOCSP-41355 live upgrade updates * external review * DOCSP-40105-storageEngine-limitation (#348) * DOCSP-40286 update wording (#353) * added reversing descr (#355) * DOCSP-41105 "About mongosync" page (#347) * DOCSP-41105 second draft * DOCSP-41105-2 * DOCSP-41105-2 * DOCSP-41580 creates release notes for 1.8.0 (#352) * DOCSP-41580 creates release notes for 1.8.0 * Responds to draft comments * Updates embedded verifier text and adds versions bugs were introduced * Removes embedded verifier. See #339 for embedded verifier release notes * Remove embedded verifier title * Updates release notes from sme feedback * DOCSP-41853 Updates mongosync documentation to support 1.8 release (#362) * Updates documentation for 1.8 * Update source/reference/api/progress.txt Co-authored-by: Jessica <[email protected]> --------- Co-authored-by: Jessica <[email protected]> * DOCSP-41323 made behavior page (#356) * DOCSP-39095 adding atlas search indexes limitation (#312) * DOCSP-39095 adding atlas search indexes limitation * DOCSP-39095 tech edit * DOCSP-39095 tech edit * DOCSP-39095 tech edit * DOCSP 39098 Recommend limiting DDL operations during a sync (#311) * DOCSP-39098 Recommend limiting DDL operations during a sync * DOCSP-39098 ddl warning * DOCSP-39098 ddl warning * DOCSP-39098 ddl warning * DOCSP-39098 tech edit * DOCSP-39098 tech edit * DOCSP-38018 Add Note Mongosync Cannot Mid Upgrade (#307) * DOCSP-38018 Add Note Mongosync Cannot Mid Upgrade * DOCSP-38018 Add Upgrade Consideraton * XR * DOCSP-38696 Add faq regarding fatal errors (#305) * DOCSP-38696 add faq * DOCSP-38696 jason feedback * DOCSP-39594 View Clarification (#321) * DOCSP-39211 reverse update (#320) * DOCSP-39211 reverse update * Fixes per Ajay * (DOCSP-40128): v1.7.3 release updates (#326) * (DOCSP-40128): v1.7.3 release notes * more updates * fix * fix * address review comments * DOCSP-38358 populating empty pages (#324) * DOCSP-38358 populating empty pages * DOCSP-38358 fixing spacing * DOCSP-38358 populating empty pages * DOCSP-38358 populating empty pages * DOCSP-38358 populating empty pages * DOCSP-38358 populating empty pages * DOCSP-38358 copy edits * DOCSP-38358 copy edits * DOCSP-38358 tech edits * DOCSP-38358 tech edits * (DOCSP-40657): Clarify patch releases for version support (#330) * (DOCSP-40657): Clarify patch releases for version support * typo * DOCSP-39156 Critical Advisory (#336) * DOCSP-39156 Critical Advisory * Adds header-rows field * Adds header-rows field * Adjusts column widths * Adjusts column widths * Adjusts column widths * Adjusts column widths * Adjusts column widths * Adds RN entries * Reworks for includes * Reworks for includes * Reworks for includes * Reworks for includes * Fixes per Sarah * Fixes per Rachael * Fixes per Rachael * Fixes per Rachael * Fixes per Rohan * Fixes per Tim * DOCSP-40742-disaster-recovery-page-updates (#340) * DOCSP-40742-disaster-recovery-page-updates * JP nit * ED nit * DOCS-41102 added code snippets cutover page (#341) * DOCS-41102 * DOCSP-41102 added to quickstart * DOCSP-41102 * 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 * DOCSP-41355 live upgrade updates (#349) * DOCSP-41355 live upgrade updates * external review * DOCSP-40105-storageEngine-limitation (#348) * DOCSP-40286 update wording (#353) * added reversing descr (#355) * DOCSP-41105 "About mongosync" page (#347) * DOCSP-41105 second draft * DOCSP-41105-2 * DOCSP-41105-2 * DOCSP-41580 creates release notes for 1.8.0 (#352) * DOCSP-41580 creates release notes for 1.8.0 * Responds to draft comments * Updates embedded verifier text and adds versions bugs were introduced * Removes embedded verifier. See #339 for embedded verifier release notes * Remove embedded verifier title * Updates release notes from sme feedback * DOCSP-41853 Updates mongosync documentation to support 1.8 release (#362) * Updates documentation for 1.8 * Update source/reference/api/progress.txt Co-authored-by: Jessica <[email protected]> --------- Co-authored-by: Jessica <[email protected]> * DOCSP-41323 made behavior page (#356) --------- Co-authored-by: ltran-mdb2 <[email protected]> Co-authored-by: ianf-mongodb <[email protected]> Co-authored-by: jocelyn-mendez1 <[email protected]> Co-authored-by: Kenneth P. J. Dyer <[email protected]> Co-authored-by: Jeff Allen <[email protected]> Co-authored-by: sonderdonk-mdb <[email protected]> Co-authored-by: jmd-mongo <[email protected]> Co-authored-by: Jonathan Wilson <[email protected]> Co-authored-by: Jessica <[email protected]> * DOCSP-41581-beta-docs-cleanup (#364) * DOCSP-41581-beta-docs-cleanup * finalize release notes * update links + delete migrationName page * build errors * more build errors * review comments * external feedback * external feedback pt 2 * * * adjust table width, text, add namespace remapping, newline in rn * title spacing * * * table space * * * fix column * clarification sentence on 1.8 features + beta * wording --------- Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: ltran-mdb2 <[email protected]> Co-authored-by: ianf-mongodb <[email protected]> Co-authored-by: jocelyn-mendez1 <[email protected]> Co-authored-by: Kenneth P. J. Dyer <[email protected]> Co-authored-by: Jeff Allen <[email protected]> Co-authored-by: sonderdonk-mdb <[email protected]> Co-authored-by: jmd-mongo <[email protected]> Co-authored-by: Jonathan Wilson <[email protected]> Co-authored-by: Jessica <[email protected]> * fix release date --------- Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: ltran-mdb2 <[email protected]> Co-authored-by: ianf-mongodb <[email protected]> Co-authored-by: jocelyn-mendez1 <[email protected]> Co-authored-by: Kenneth P. J. Dyer <[email protected]> Co-authored-by: Jeff Allen <[email protected]> Co-authored-by: sonderdonk-mdb <[email protected]> Co-authored-by: jmd-mongo <[email protected]> Co-authored-by: Jonathan Wilson <[email protected]> Co-authored-by: Jessica <[email protected]>
1 parent 3604f05 commit 0534b26

29 files changed

+1005
-9
lines changed

snooty.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ toc_landing_pages = ["/quickstart",
2121
"/multiple-mongosyncs",
2222
"/release-notes/release-notes",
2323
"/faq",
24+
"/reference/beta-program",
2425
"/reference/collection-level-filtering",
2526
"/reference/verification",
2627
"/reference/mongosync"
@@ -33,6 +34,8 @@ version-dev = "1.8"
3334
c2c-product-name = "Cluster-to-Cluster Sync"
3435
c2c-full-product-name = "MongoDB Cluster-to-Cluster Sync"
3536
mdb-download-center = "`MongoDB Download Center <https://www.mongodb.com/try/download/mongosync>`__"
37+
c2c-full-beta-program = "Cluster-to-Cluster Sync Beta Program"
38+
c2c-beta-program-short = "``mongosync`` beta"
3639

3740
[substitutions]
3841
c2c-product-name = "Cluster-to-Cluster Sync"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Starting in {+c2c-beta-program-short+} 1.8, you can perform A->B->C migrations.
2+
A->B->C migrations allow you to perform two consecutive migrations, where the
3+
destination cluster of the first migration acts as the source cluster for the
4+
second migration.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
curl -X POST "http://localhost:27182/api/v1/start" --data '
2+
{
3+
"source": "cluster0",
4+
"destination": "cluster1",
5+
"namespaceRemap": [
6+
{
7+
"from": {
8+
"database": "accounts",
9+
},
10+
"to": {
11+
"database": "sales",
12+
}
13+
}
14+
]
15+
} '

source/includes/beta-feature.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.. important:: Cluster-to-Cluster Sync Beta Program
2+
3+
This feature is only available in {+c2c-beta-program-short+}. To learn more,
4+
see :ref:`c2c-beta-program`.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Starting in version 1.8.0, {+c2c-product-name+} introduces the
2+
{+c2c-full-beta-program+}. With {+c2c-beta-program-short+}, you can use
3+
experimental features with direct support and assistance from MongoDB.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Starting in {+c2c-beta-program-short+} 1.8, use the ``destinationDataHandling``
2+
option in the start request to define what happens if the destination
3+
cluster already has user data. Earlier ``mongosync`` versions return an
4+
error if the destination cluster has user data.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Starting in {+c2c-beta-program-short+} 1.8, you can selectively migrate
2+
documents based on specific conditions. To further limit which documents migrate
3+
to the destination cluster, you can combine document filtering and
4+
:ref:`namespace filtering <c2c-filtered-sync>`.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
- ``field`` names can't contain dots (``.``) or dollar signs (``$``).
2+
3+
- ``matchValues`` array items can be the following BSON types:
4+
5+
- All number types
6+
- Binary
7+
- Booleans
8+
- Datetime
9+
- ObjectID
10+
- Strings
11+
12+
- Documents must not move in or out of the filter during migration.
13+
14+
- If the document filter contains a string and at least one migrated collection
15+
with non-default collation, ``mongosync`` fails immediately.
16+
17+
- If you call the :ref:`progress <c2c-api-progress>` API endpoint and use a
18+
:ref:`document filter <c2c-beta-document-filtering>`, the
19+
``estimatedTotalBytes`` response field returns ``null``.
20+
21+
- The destination cluster must not contain pre-existing data that matches the
22+
filter.
23+
24+
- You can't specify a document filter and set the ``reversible`` flag to
25+
``true``.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
The following restrictions apply to namespace remapping:
3+
4+
- Namespace remapping doesn't permit writing to the ``system``, ``config``, ``admin``,
5+
or ``local`` databases, or writing to internal databases used by ``mongosync``.
6+
7+
- The database name on the destination cluster must be valid under Windows
8+
restrictions.
9+
10+
For more information, see :limit:`Restrictions on Database Names for Windows`.
11+
12+
- Remapped database names on the destination cluster cannot differ only in case.
13+
14+
- The remap cannot produce namespace conflicts on the destination cluster.
15+
16+
For example:
17+
18+
.. code-block:: javascript
19+
:copyable: false
20+
21+
"namespaceRemap": [
22+
{
23+
"from": { "database": "us-west" },
24+
"to": {"database": "us-accounts" }
25+
},
26+
{
27+
"from": { "database": "us-south" },
28+
"to": { "database": "us-accounts" }
29+
}
30+
]
31+
32+
If each database on the source cluster contains a ``texas`` collection,
33+
``mongosync`` may fail, corrupt data, or exhibit unexpected behavior.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Starting in {+c2c-beta-program-short+} 1.8, you can perform Many-to-One
2+
migrations. Many-to-One migrations allow you to sync multiple source
3+
clusters simultaneously with a destination cluster. For example, you can
4+
consolidate data from many small clusters into a central cluster.

0 commit comments

Comments
 (0)