@@ -46,7 +46,7 @@ The command has the following syntax:
46
46
},
47
47
...
48
48
],
49
- forceDistribution : <bool>
49
+ forceRedistribution : <bool>
50
50
}
51
51
)
52
52
@@ -101,7 +101,7 @@ The command takes the following fields:
101
101
102
102
* - ``collation``
103
103
- document
104
- - Optional. If the collection specified to ``reshardCollection``
104
+ - Optional. If the collection specified in ``reshardCollection``
105
105
has a default :ref:`collation <collation>`, you *must* include a
106
106
collation document with ``{ locale : "simple" }``, or the
107
107
``reshardCollection`` command fails.
@@ -113,8 +113,8 @@ The command takes the following fields:
113
113
114
114
* - ``forceRedistribution``
115
115
- 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
118
118
``zones`` option to move data to specific zones.
119
119
120
120
.. versionadded:: 7.2
@@ -189,8 +189,8 @@ Commit Phase
189
189
190
190
:ref:`sharding-resharding`
191
191
192
- Example
193
- -------
192
+ Examples
193
+ --------
194
194
195
195
Reshard a Collection
196
196
~~~~~~~~~~~~~~~~~~~~
@@ -205,9 +205,10 @@ new shard key ``{ order_id: 1 }``:
205
205
key: { order_id: 1 }
206
206
})
207
207
208
- MongoDB returns the following :
208
+ Output :
209
209
210
210
.. code-block:: javascript
211
+ :copyable: false
211
212
212
213
{
213
214
ok: 1,
0 commit comments