policy: Add iterator for listing #66
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#66
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.
Currently the
policy
contract has only listings without iterator which is restricted by 2048 items. Sometimes it isn't enough.For example IAM service stores some one-to-many relations (1,2) rather than chain data. Also we use listing to get managed policies (there are up to 5000 such policies). So we quite easily can reach stack limit.
It would be nice to have iterator in listing method,
Describe the solution you'd like
Use iterator in
ListChainsByPrefix
Describe alternatives you've considered
Accept current limits