Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6279

Throw MissingChunkError when final chunk is missing from gridfs download stream

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: GridFS

      Use Case

      Gridfs download streams should throw a missing chunk error when the cursor is exhausted but not all chunks have been received.

      User Impact

      • Likely low.  This requires that the user's chunks collection is corrupted, which doesn't happen if the user is using our API properly.

      Dependencies

      • n/a

      Unknowns

      • n/a

      Acceptance Criteria

      Implementation Requirements

      • Throw a missing chunk error when the gridfs chunks collection cursor is exhausted but we haven't received all expected chunks.

      Testing Requirements

      • Unskip the skipped unified test

      Documentation Requirements

      • n/a

      Follow Up Requirements

      • n/a

            Assignee:
            Unassigned Unassigned
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: