minor incompatibilities on Head/GetObject with partNumber #201
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#201
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We currently reject queries with
partNumber
when object was not uploaded during a multipart upload (at least when the object got inlined, untested if it was big enough to not be). AWS consider non multipart upload create a single part number 1, so it's possible to query such object withpartNumber=1
(other values returnInvalidPartNumber: The requested partnumber is not satisfiable
)On query with partNumber, we return
200 OK
, but AWS actually returns206 Partial Content
with aContent-Range
header.We accept query with
partNumber
and headerRange: bytes=
, AWS does not (InvalidRequest: Cannot specify both Range header and partNumber query parameter
). This is not a problem, but it's (almost) dead code, so we might want to get ride of this feature.To be clear, if I do a GetObject with
part_number=2
(and there is a non-empty part 1), should it return:or
?
for a file with 2 part of exactly 6Mio each, the exact header is
Content-Range: bytes 6291456-12582911/12582912
, so it's the latter (with added full content lenght which was not in your example)