Details
-
Bug
-
Resolution: Done
-
Blocker - P1
-
None
-
None
-
None
-
Fully Compatible
Description
We are getting the following exception on replica set using GridFS. I read online about manually adding the index but shouldn't the C# driver automatically do so? How can we fix this?
Exception: MongoDB.Driver.MongoCommandException: Command 'filemd5' failed: need an
index on
(response: { "errmsg" : "need an index on
{ files_id : 1 , n : 1 }", "ok" : 0.0 })