make it possible to override _id for GridFS file

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeffrey Yemin
            Reporter:
            Antoine Girbal (Inactive)
            None
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: