Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object_store: full HTTP range support #5222

Merged
merged 15 commits into from
Jan 5, 2024
Merged

Commits on Dec 18, 2023

  1. object_store: full HTTP range support

    - Support suffix and offset ranges in GetOptions and get_opts
    - Ensure that, if a range is requested, the response contains exactly
      that range
    clbarnes committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    2c46bab View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. object_store: review comments

    - Use idiomatic snafu error handling
    - fast-fail on azure suffix requests
    - remove unused GetRange utilities
    clbarnes committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    9845874 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Cleanup

    tustvold committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    e6b3dba View commit details
    Browse the repository at this point in the history
  2. Further cleanup / fixes

    tustvold committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    c5c6b6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5787724 View commit details
    Browse the repository at this point in the history
  4. Update object_store/src/util.rs

    Co-authored-by: Raphael Taylor-Davies <[email protected]>
    clbarnes and tustvold committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    5b2ed72 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ec4731f View commit details
    Browse the repository at this point in the history
  6. Use size from ContentRange

    tustvold committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    2de9d0f View commit details
    Browse the repository at this point in the history
  7. Update test

    tustvold committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    a4c58dd View commit details
    Browse the repository at this point in the history
  8. Fix as_range

    tustvold committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    b61a64d View commit details
    Browse the repository at this point in the history
  9. Update test

    tustvold committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    dd62314 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Tighten range validation logic

    - Raise an error before the request is made if the range has <= 0
      bytes in it
    - `GetRange::as_range` now handles more out-of-bounds cases, although in
      most cases these should result in a 416 from the server anyway.
    clbarnes committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    f61befc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5fcc53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e20b130 View commit details
    Browse the repository at this point in the history
  4. Fix Azure and Memory

    tustvold committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    7705361 View commit details
    Browse the repository at this point in the history