[SERVER-5323] mongofiles fails with "assertion: 9008 filemd5 failed" Created: 16/Mar/12  Updated: 15/Aug/12  Resolved: 14/May/12

Status: Closed
Project: Core Server
Component/s: GridFS
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Andrei Bisceanu Assignee: Randolph Tan
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux x86_64


Operating System: Linux
Participants:

 Description   

When i try tu upload a file in GridFS i receive the assertion: 9008 filemd5 failed
error.
However if i add an index on fs.chuncks with

{ "files_id" : 1, "n" : 1 }

it works.
I would like to emphasise that my mongo environment is a single instance one ( no shards no replica sets)



 Comments   
Comment by Randolph Tan [ 10/Apr/12 ]

Hi,

I was not able to reproduce this on a fresh server. Can you post the exact command you use upload to mongod? Are you using v2.0.2 for both mongofiles and mongod? And lastly, can you give us more details about the file being uploaded (if possible, attach), like file name and size?

Thanks!

Comment by Andrei Bisceanu [ 16/Mar/12 ]

This happens when uploading with mongofiles utility.

Comment by Eliot Horowitz (Inactive) [ 16/Mar/12 ]

What driver are you using? The driver is supposed to create an index on files_id , n automatically.

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