Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1650

mongo-rust-driver - PR #874: Add partial file retrieval when using GridFS stream download

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: GridFS
    • Labels:

      laleksiunas has created PR #874: Add partial file retrieval when using GridFS stream download in mongo-rust-driver

      Issue Text:
      Implemented support for partial file retrieval according to GridFS [spec](https://github.com/mongodb/specifications/blob/master/source/gridfs/gridfs-spec.rst#partial-file-retrieval) for `GridFsBucket::open_download_stream` and `GridFsBucket::open_download_stream_by_name`.
      *Unfortunately, there is a breaking change in `GridFsBucket::open_download_stream` interface - additional options argument to accept start/end range.*

      • [ ] start and end values are non negative (ensured by design using u64)
      • [ ] validate whether start is less than or equal to end
      • [ ] validate whether start and end are less than or equal to file length
      • [ ] file chunk size is being used to skip and limit chunks when performing partial reads

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: