Skip to content

Commit 7764f51

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-36171-reshard-update (#6211)
* DOCSP-36171-reshard-update * DOCSP-36171-reshard-update --------- Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 681f892 commit 7764f51

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

source/reference/command/reshardCollection.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The command has the following syntax:
5858
},
5959
...
6060
],
61-
forceDistribution: <bool>
61+
forceRedistribution: <bool>
6262
}
6363
)
6464

@@ -113,7 +113,7 @@ The command takes the following fields:
113113

114114
* - ``collation``
115115
- document
116-
- Optional. If the collection specified to ``reshardCollection``
116+
- Optional. If the collection specified in ``reshardCollection``
117117
has a default :ref:`collation <collation>`, you *must* include a
118118
collation document with ``{ locale : "simple" }``, or the
119119
``reshardCollection`` command fails.
@@ -125,8 +125,8 @@ The command takes the following fields:
125125

126126
* - ``forceRedistribution``
127127
- boolean
128-
- Optional. When set to ``true``, the operation executes even if the new
129-
shard key is the same as the old shard key. Use with the
128+
- Optional. If set to ``true``, the operation runs even if the new
129+
shard key is the same as the old shard key. Use with the
130130
``zones`` option to move data to specific zones.
131131

132132
.. versionadded:: 7.2
@@ -201,8 +201,8 @@ Commit Phase
201201

202202
:ref:`sharding-resharding`
203203

204-
Example
205-
-------
204+
Examples
205+
--------
206206

207207
Reshard a Collection
208208
~~~~~~~~~~~~~~~~~~~~
@@ -217,9 +217,10 @@ new shard key ``{ order_id: 1 }``:
217217
key: { order_id: 1 }
218218
})
219219

220-
MongoDB returns the following:
220+
Output:
221221

222222
.. code-block:: javascript
223+
:copyable: false
223224

224225
{
225226
ok: 1,

0 commit comments

Comments
 (0)