Details
-
Task
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
None
-
KANBAN BUCKET
-
true
Description
In 3.4, the shell helper sh.shardCollection() takes an additional parameter options, so it now has the signature sh.shardCollection(namespace,key,unique,options). options must be a document. Any fields in options are passed straight through to the shardCollection command. Expected fields include numInitialChunks and collation.
For example,
sh.shardCollection('test.coll', {a: 1}, false, {numInitialChunks: 5, collation: {locale: 'en_US'}})
|
Attachments
Issue Links
- is related to
-
DOCS-8851 3.4 - update shardCollection command for collation
-
- Closed
-
-
SERVER-27032 support for collation in sh.shardCollection() helper
-
- Closed
-