The filemd5 command fails when the fs.chunks collection is using a hashed shard key:
{
"ok" : 0,
"errmsg" : "GridFS fs.chunks collection must be sharded on either {files_id:1} or {files_id:1, n:1}"
}
Offhand, this seems like the command is being too strict in checking the shard key or index.
- duplicates
-
SERVER-9888 GridFS should support sharding of the chunks collection with hashed shard keys
-
- Closed
-