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

XMLWordPrintableJSON

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

      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
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: