mirror of
https://github.com/nspcc-dev/neofs-s3-gw.git
synced 2026-03-01 04:29:15 +00:00
Support Expiration Lifecycle #93
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#93
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 @KirillovDenis on GitHub (Aug 5, 2021).
Should we support lifecycle? https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html
I suppose there are some restriction (if we want to support it):
Expiration actions(availableExpiration actionsandTransition actions) because s3-gw can not handle storage classes (or it will be?)Expiration actionswill only work in the context of the gateway, and the gateway must store the user's credentials@realloc commented on GitHub (Aug 12, 2021):
We can't use NeoFS exipration attributes here, because in S3 the object lifecycle/expiration is mutable.
@alexvanin commented on GitHub (Aug 26, 2021):
Good use case for serverless functions to handle actions after expiration.
@KirillovDenis commented on GitHub (Jun 21, 2022):
Blocked by https://github.com/nspcc-dev/neofs-api/issues/226
@KirillovDenis commented on GitHub (Jun 21, 2022):
Still there are some questions:
Access rights.
We need a bearer token to be able to delete an object after appropriate tick happens.
We can store this info (address of the object with access box) in user-defined tick data https://github.com/nspcc-dev/neofs-api/issues/226)
Where we should store expiration object info:
versiontreeexpirationtreeIt seems we have to extend object/expiration info that stored in tree service by object size to be able to get rid of head request.