Support forced bucket removal #31
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#31
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?
S3 API restricts bucket removal while it contains objects. FrostFS, however, can delete container at any time, making all objects unavailable and removed by GC sooner or later.
As the product extension, we can expand S3 API and support forced bucket removal with single request. Let's discuss how it can be done.
First of all, we need to check similar extensions in other S3 compatible storages.
My research of other S3 storages has shown that there is no support as such.
In any case, there will be an implicit deletion of objects.
In our case, it is proposed to support a flag of the type
X-FrostFS-S3-Delete-Force: true
to bypass the limitations of the S3 protocol.Closed in #436