From 0e705b6cc21fa8d86d63140f1ac77c354f1d81df Mon Sep 17 00:00:00 2001 From: Angela Date: Thu, 17 Apr 2025 10:56:16 -0400 Subject: [PATCH 1/3] add explaination --- source/reference/api/start.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/reference/api/start.txt b/source/reference/api/start.txt index 34385356d..269a5662a 100644 --- a/source/reference/api/start.txt +++ b/source/reference/api/start.txt @@ -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 source cluster is ``cluster0`` and the destination +cluster is ``cluster1``. The ``key`` array in this example defines the shard key ``{"location": 1, "region": 1 }``. + Request: .. literalinclude:: /includes/api/requests/start-rs-shard.sh From e361150c7e6ff3f7a0f4b0ae7a3b50bf1fbbc0a2 Mon Sep 17 00:00:00 2001 From: Angela Date: Wed, 23 Apr 2025 15:50:43 -0400 Subject: [PATCH 2/3] condense wording --- source/includes/intro-start-api-example-intro.rst | 5 ++--- source/reference/api/start.txt | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/source/includes/intro-start-api-example-intro.rst b/source/includes/intro-start-api-example-intro.rst index 27f6e9202..344c9371d 100644 --- a/source/includes/intro-start-api-example-intro.rst +++ b/source/includes/intro-start-api-example-intro.rst @@ -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``. \ No newline at end of file +The following example starts a sync job between the source cluster ``cluster0`` and the +destination cluster ``cluster1``. \ No newline at end of file diff --git a/source/reference/api/start.txt b/source/reference/api/start.txt index 269a5662a..d8025fe12 100644 --- a/source/reference/api/start.txt +++ b/source/reference/api/start.txt @@ -366,8 +366,8 @@ 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 source cluster is ``cluster0`` and the destination -cluster is ``cluster1``. The ``key`` array in this example defines the shard key ``{"location": 1, "region": 1 }``. +sharded cluster ``cluster1``. The ``key`` array in this example defines the shard key +``{"location": 1, "region": 1 }``. Request: From fbb5335028e3b1d0b5db4aaa69ed1ed760c4b455 Mon Sep 17 00:00:00 2001 From: Angela Date: Thu, 24 Apr 2025 10:30:58 -0400 Subject: [PATCH 3/3] add source and destination --- source/reference/api/start.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/reference/api/start.txt b/source/reference/api/start.txt index d8025fe12..94b799857 100644 --- a/source/reference/api/start.txt +++ b/source/reference/api/start.txt @@ -365,8 +365,8 @@ 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 +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: