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

make it possible to override _id for GridFS file

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

      This is needed for proper sharding support.
      Right now it's hardcoded to use an ObjectId which means it's ever growing and hits the same shard.

      Also it would allow to have a unique constraint on filename, if it's used as _id.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            antoine Antoine Girbal
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: