Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6694

C++ driver for GridFS should create unique index on files_id, n

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: Tools

      The mongofiles tool, which uses the C++ driver, will create an index on

      {files_id:1, n:1}

      if it doesn't already exist for the fs.chunks collection when storing a file. That index should be created as unique, but it isn't currently. Many drivers (pymongo at least) do this already.

            Assignee:
            siddharth.singh@10gen.com siddharth.singh@10gen.com
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: