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-v1.11-backport (732) #744

Merged
Show file tree
Hide file tree
Changes from all 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 @@ -360,6 +360,10 @@ Response:
Start Sync from Replica Set to Sharded Cluster
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The following example starts a sync job between the source replica set ``cluster0`` and the
destination sharded cluster ``cluster1``. The ``key`` array in this example defines the shard key
``{"location": 1, "region": 1 }``.

Request:

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