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

[Bug]: local storage - adapter errors in GetRange() when index range is [:0] #8304

Open
logan-hcg opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working contributor P2

Comments

@logan-hcg
Copy link

What happened?

It appears the same behavior as #6115 is triggered when the request includes Range: bytes=-0, which appears to be a valid construction per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range

The server currently returns a 500 error with error:

<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>InternalError</Code><Message>We encountered an internal error, please try again.</Message><Key>object-key</Key><BucketName>test-v1</BucketName><Resource>branch@repo</Resource>
<Region>us-east-1</Region><RequestId>d571e32e-5584-4c69-a911-da5a63a597dd</RequestId><HostId>3C36C65039427BAF</HostId></Error>

Expected behavior

No response

lakeFS version

1.39.2

How lakeFS is installed

locally

Affected clients

boto3

Relevant log output

host="localhost:8000" matched_host=false method=GET operation_id=get_object path="object-key" ref=branch repository=repo source_ip="::1:52204" status_code=500 took=3874904 took_str=3.874904ms user=test@example.com


### Contact details

_No response_
@logan-hcg logan-hcg added bug Something isn't working contributor labels Oct 24, 2024
@talSofer talSofer added the P2 label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working contributor P2
Projects
None yet
Development

No branches or pull requests

2 participants