Configure copies number
parameter for specific location constraints #70
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#70
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?
Is your feature request related to a problem? Please describe.
S3 gateway uses location constrains to define bucket placement policy. With introduction of
copies numbers
, S3 gateway should be able to setcopies numbers
parameter for specific containers grouped by placement policy, in other words by placement policy.Describe the solution you'd like
Add new configuration parameter that adds tuples like
Gateway should put all new objects in the bucket with specified location constraint using
copies number
parameter fromvector
. If vector is invalid, ignore suchcopies_number
parameter.Describe alternatives you've considered
Adding placement policy hash
Location constraint may change corresponding policy and keep the same name. To avoid issues like that we can add hash of the container policy. However it is not clear how to calculate such hash and if there will be any issues with placement structure change over time.
Done in #99