3
db.fs.chunks.insert({files_id:1,n:0,data:new BinData(0,"test")})
5
x = db.runCommand({"filemd5":1,"root":"fs"});
6
assert( ! x.ok , tojson(x) )
8
db.fs.chunks.ensureIndex({files_id:1,n:1})
9
x = db.runCommand({"filemd5":1,"root":"fs"});
10
assert( x.ok , tojson(x) )