Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1770

GridFS download chunk size should be read from files document, not bucket

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.3
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      When creating a GridFS download stream, we set the expected chunk size to be the bucket's chunk size. This isn't correct though because the chunk size can be overridden for individual files, so we should instead set it to the chunkSize field in the files collection document.

        Attachments

          Activity

            People

            Assignee:
            divjot.arora Divjot Arora
            Reporter:
            divjot.arora Divjot Arora
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: