Inserting a file's chunks with GridFS does not respect max bson size

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.0.5
    • Affects Version/s: 2.0.4
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When inserting a file using GridFS, the chunks are inserted as an array with no regard for the max bson size.

      https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo/grid/fs.rb#L78

      Original bug report: https://groups.google.com/forum/#!msg/mongodb-user/EbRYGlJGFhM/Xoy1eUGwLA0J

              Assignee:
              Emily Stolfo (Inactive)
              Reporter:
              Emily Stolfo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: