Unable to delete content with Minio Client #60
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#60
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?
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