|
The moveRange documentation committed under DOCS-15363 added an example missing the command name:
db.adminCommand(
|
{
|
toShard: <ID of the recipient shard>,
|
min: <min key of the range to move>,
|
max: <max key of the range to move>, // optional
|
forceJumbo: <bool>, // optional
|
waitForDelete: <bool>, // optional
|
writeConcern: <write concern>, // optional
|
secondaryThrottle: <bool> // optional
|
}
|
)
|
We must correct it to:
db.adminCommand(
|
{
|
moveRange: <namespace>,
|
toShard: <ID of the recipient shard>,
|
min: <min key of the range to move>,
|
max: <max key of the range to move>, // optional
|
forceJumbo: <bool>, // optional
|
waitForDelete: <bool>, // optional
|
writeConcern: <write concern>, // optional
|
secondaryThrottle: <bool> // optional
|
}
|
)
|
|