[SERVER-19789] filemd5 command does not jive with hashed shard keys Created: 06/Aug/15  Updated: 06/Aug/15  Resolved: 06/Aug/15

Status: Closed
Project: Core Server
Component/s: GridFS, Sharding
Affects Version/s: 3.0.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-9888 GridFS should support sharding of the... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

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.



 Comments   
Comment by Scott Hernandez (Inactive) [ 06/Aug/15 ]

dup of SERVER-9888

Generated at Thu Feb 08 03:52:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.