mirror of
https://github.com/nspcc-dev/neofs-s3-gw.git
synced 2026-03-01 04:29:15 +00:00
The gw deletes a null object in versioned bucket from NeoFS if version is not specified in a request #259
Labels
No labels
I2
I2
I3
I4
S2
S3
S4
S4
U0
U1
U2
U2
U3
U4
U4
auth-mate
blocked
bug
config
dependencies
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
performance
question
security
test
tree-service
tree-service
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-s3-gw#259
Loading…
Add table
Add a link
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?
Originally created by @masterSplinter01 on GitHub (Jun 17, 2022).
Originally assigned to: @KirillovDenis on GitHub.
tree-servicebranch:@KirillovDenis commented on GitHub (Jun 20, 2022):
As I understand it's expected behavior. https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html (
Removes the null version (if there is one) of an object and inserts a delete marker, which becomes the latest version of the object.)@masterSplinter01 commented on GitHub (Jun 20, 2022):
Amazon doesn't delete
nullversion:Also, I don't see any information about deleting of
nullversion here:https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html
But in the schemes
nullversion shouldn't be deleted afterdelete-markerhas been placed.@KirillovDenis commented on GitHub (Jun 20, 2022):
Sorry, but your output is a little odd because you tried to delete the key
athough in bucket you have only keybwithnullversion.@masterSplinter01 commented on GitHub (Jun 20, 2022):
Sorry, typo, tried to remove
b:Nothing changed
@alexvanin commented on GitHub (Jun 23, 2022):
Seems like this is correct behavior when versioning is off, but in those examples versioning is on.
@KirillovDenis commented on GitHub (Jul 6, 2022):
Done in #554