Consider having mutable attributes for containers #145
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 milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#145
Loading…
Add table
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.
Containers are immutable structures stored in container contract. However it is useful to set some tags or meta-info about container in runtime, which is not possible right now.
Describe the solution you'd like
Add API to attach and access mutable k:v attributes for container. There might be a reasonable limit for number of attributes.
Describe alternatives you've considered
Do nothing
Additional context
This can be useful to store some bucket settings in mutable container attributes. While it it takes a little bit longer to set, settings values will be much more consistent across storage network. Maybe it can be related to mutable container policies.
policy contract is already a simple KV with some sugar.
Here you suggest adding similar code but in another contract.
I am wondering whether some generic KV contract might be useful, instead of extending already existing contracts and increasing their interface surface.
Consider mutable attributes for containersto Consider having mutable attributes for containers