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

The GridFS chunk size is wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1, 3.2.0
    • Component/s: GridFS
    • Labels:
    • Environment:
      Linux
    • Sprint:
      Java Sprint 28

      Description

      The default chunk size in GridFSBucketImpl is 255 bytes not 255k bytes as documented in the GridFS manual (https://docs.mongodb.org/manual/core/gridfs/). This causes a severe performance penalty when uploading medium sized files. As an example uploading a ~32MB file using 255 byte chunks can take +30 minutes while using 255k bytes blocks takes several seconds.

        Attachments

          Activity

            People

            Assignee:
            ross.lawley Ross Lawley
            Reporter:
            rerupp Rick Rupp
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: