Incorrect behavior on CompleteMultipartUpload when some parts are unused #198
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#198
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
I haven't tested it, but looking at the code, we currently reject CompleteMultipartUpload where some parts were uploaded but not used. AWS allow this behavior, and presumably delete unused parts
Apparently AWS S3 renumbers parts on CompleteMultipartUpload. For instance if we complete a multipart upload taking parts 2, 3, 5, 9, then these parts can be obtained respectively with
partNumber=1
,2
,3
,4
in for instance HeadObject or GetObject.Currently the data model can't handle this, since once a block/part has been added to the Version, it cannot be removed, and also numbering changes are not supported.
Closing in favor of #204