Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-248

For GridFS, driver should ensure indexes at startup on both files and chunks collection, when collection is small

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

      today driver is missing

      {filename: 1, uploadDate: 1}

      on files collection.
      Also, ensureIndex must not be called if the collection size is over 1000, to avoid involuntary slowdown of DB.

            Assignee:
            antoine Antoine Girbal
            Reporter:
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: