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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      true

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              antoine Antoine Girbal
              Reporter:
              antoine Antoine Girbal
              Participants:
              Last commenter:
              Rathi Gnanasekaran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 25 weeks ago
                Date of 1st Reply: