We want to be able to select a specific chunk from config.chunks and move it explicitly vs having to construct a bounds or find command. For instance:
db.chunks.findOne();
{
"_id" : "testme.testme-_id_MinKey",
"lastmod" : Timestamp(28, 0),
"lastmodEpoch" : ObjectId("52c322fd84dab9fabf34992b"),
"ns" : "testme.testme",
"min" : {
"_id" : { "$minKey" : 1 }
},
"max" : {
"_id" : NumberLong("-7378697629483820640")
},
"shard" : "REPLSET_60007"
}
x = { "moveChunk" : "testme.testme",
"_id": "testme.testme-_id_MinKey",
"to" : "REPLSET_60005"
}
db.runCommand(x);