Skip to content

object_store: Fetching empty ranges raises error #453

@nameexhaustion

Description

@nameexhaustion

Describe the bug
Fetching empty ranges raise an error instead of succeeding.

To Reproduce
Perform get_range(path, 0..0) on the object store.

error: "object-store error: Generic S3 error: Range started at 0 and ended at 0"

Expected behavior
It should succeed and return an empty Bytes object

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions