Unable to delete content with Minio Client #60
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#60
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?
How to reproduce
What we get
The file is not deleted and we have the following error:
What we expect
The file is deleted without error similarly to the AWS client:
Investigation
It seems there is 2 ways to delete an object on S3:
DELETE
verb on the element (implemented in garage)POST
on the prefix with the?delete=
parameter (probably not implemented in garage)What should we do?
I don't know yet, I just want to track this issue for now :P
This looks like a DeleteObjects call, which is implemented but has a bug:
This line indicates that the code in Garage that parses the delete query isn't working correctly (probably).
How to debug this: enable all logs and if necessary add a trace statement in the DeleteObjects handler code. Then check the parsing logic and find where it is flawed.
Should be fixed, @quentin can you test? thx
Fixed, and #65 (which is merged although Gitea doesn't know it) is a test for this