Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

DOCSP-48400-confusion-multi-shard-key #732

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions source/includes/intro-start-api-example-intro.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
The following example starts a sync job between ``cluster0`` and
``cluster1``. The source cluster is ``cluster0`` and the destination
cluster is ``cluster1``.
The following example starts a sync job between the source cluster ``cluster0`` and the
destination cluster ``cluster1``.
4 changes: 4 additions & 0 deletions source/reference/api/start.txt
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ Response:
Start Sync from Replica Set to Sharded Cluster
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The following example starts a sync job between the replica set ``cluster0`` and the
sharded cluster ``cluster1``. The ``key`` array in this example defines the shard key
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should still say that cluster0 is the source and 1 is the destination

``{"location": 1, "region": 1 }``.

Request:

.. literalinclude:: /includes/api/requests/start-rs-shard.sh
Expand Down