Skip to content

Commit 51102df

Browse files
jason-price-mongodbjason-price-mongodb
and
jason-price-mongodb
authored
DOCSP-36171-reshard-update (#6211) (#6243)
* DOCSP-36171-reshard-update * DOCSP-36171-reshard-update --------- Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 2c7eb73 commit 51102df

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
@@ -46,7 +46,7 @@ The command has the following syntax:
4646
},
4747
...
4848
],
49-
forceDistribution: <bool>
49+
forceRedistribution: <bool>
5050
}
5151
)
5252

@@ -101,7 +101,7 @@ The command takes the following fields:
101101

102102
* - ``collation``
103103
- document
104-
- Optional. If the collection specified to ``reshardCollection``
104+
- Optional. If the collection specified in ``reshardCollection``
105105
has a default :ref:`collation <collation>`, you *must* include a
106106
collation document with ``{ locale : "simple" }``, or the
107107
``reshardCollection`` command fails.
@@ -113,8 +113,8 @@ The command takes the following fields:
113113

114114
* - ``forceRedistribution``
115115
- boolean
116-
- Optional. When set to ``true``, the operation executes even if the new
117-
shard key is the same as the old shard key. Use with the
116+
- Optional. If set to ``true``, the operation runs even if the new
117+
shard key is the same as the old shard key. Use with the
118118
``zones`` option to move data to specific zones.
119119

120120
.. versionadded:: 7.2
@@ -189,8 +189,8 @@ Commit Phase
189189

190190
:ref:`sharding-resharding`
191191

192-
Example
193-
-------
192+
Examples
193+
--------
194194

195195
Reshard a Collection
196196
~~~~~~~~~~~~~~~~~~~~
@@ -205,9 +205,10 @@ new shard key ``{ order_id: 1 }``:
205205
key: { order_id: 1 }
206206
})
207207

208-
MongoDB returns the following:
208+
Output:
209209

210210
.. code-block:: javascript
211+
:copyable: false
211212

212213
{
213214
ok: 1,

0 commit comments

Comments
 (0)