Skip to content

Commit e17d402

Browse files
committed
DOCSP-48400-confusion-multi-shard-key (mongodb#732)
* add explaination * condense wording * add source and destination (cherry picked from commit 9734cd3)
1 parent b8d53bb commit e17d402

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
The following example starts a sync job between ``cluster0`` and
2-
``cluster1``. The source cluster is ``cluster0`` and the destination
3-
cluster is ``cluster1``.
1+
The following example starts a sync job between the source cluster ``cluster0`` and the
2+
destination cluster ``cluster1``.

source/reference/api/start.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,10 @@ Response:
365365
Start Sync from Replica Set to Sharded Cluster
366366
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367367

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

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

0 commit comments

Comments
 (0)