Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-763

MongoCommandException: Command 'filemd5' failed

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker - P1 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

      { files_id : 1 , n : 1 }

      (response: { "errmsg" : "need an index on

      { files_id : 1 , n : 1 }

      ", "ok" : 0.0 })

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            majid.sameni@rms.com Majid Sameni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: