mirror of
https://github.com/nspcc-dev/neofs-s3-gw.git
synced 2026-03-01 04:29:15 +00:00
Merge lock info into a single attribute #517
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#517
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 @roman-khimov on GitHub (May 6, 2025).
Originally assigned to: @smallhive on GitHub.
Is your feature request related to a problem? Please describe.
I'm always frustrated when we're using more attributes than we could. We have
S3-BucketSettings-RetentionUntilandS3-BucketSettings-ComplianceMode. Effectively it's all lock metadata, there never a case when we need one of them, but don't need the other, they're never used for searches.Describe the solution you'd like
Have a single
S3-Lock-Metawith JSONised values inside (use more compact time representation like timestamp). This allows to retrieve this attribute alone when searching for objects and get all the lock data for free as well (no need to HEAD the object or perform additional searches).