File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 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 ``.
Original file line number Diff line number Diff line change @@ -367,6 +367,10 @@ Response:
367
367
Start Sync from Replica Set to Sharded Cluster
368
368
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
369
369
370
+ The following example starts a sync job between the source replica set ``cluster0`` and the
371
+ destination sharded cluster ``cluster1``. The ``key`` array in this example defines the shard key
372
+ ``{"location": 1, "region": 1 }``.
373
+
370
374
Request:
371
375
372
376
.. literalinclude:: /includes/api/requests/start-rs-shard.sh
You can’t perform that action at this time.
0 commit comments