NODE-2ClosedDone

Remotely shard a collection using the mongodb nodejs driver

I'm trying to shard a collection using the mongodb nodejs drive. Instead of using the admin ctor, I opened a connection directly to the 'admin' db and issued the following command: db.command({shardCollection: 'foo.bar', key: {k:1}}) I then used the mongo console and issued db.printShardingStatus(). The result: { "_id" : "foo", "partitioned" : true, "primary" : "mongo1" } foo.bar chunks: mongo1 1 { "[object Obj

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
external-usertriage