Parallel processing of policy rules in object PUT #1473

Open
opened 2025-12-28 17:23:06 +00:00 by sami · 1 comment
Owner

Originally created by @cthulhu-rider on GitHub (Aug 5, 2025).

container policy may include several placement policies. Currently, these are multiple REP rules. With #3420, there may also be several EC rules

currently, rules are handled sequentially. Although they are completely independent

Describe the solution you'd like

process rules concurrently. If any routine fails, whole process should be stopped and operation fail. Unleash power of https://pkg.go.dev/golang.org/x/sync/errgroup#Group for this

Describe alternatives you've considered

keep single threading

Additional context

#526

Originally created by @cthulhu-rider on GitHub (Aug 5, 2025). ## Is your feature request related to a problem? Please describe. container policy may include several placement policies. Currently, these are multiple REP rules. With #3420, there may also be several EC rules currently, rules are handled sequentially. Although they are completely independent ## Describe the solution you'd like process rules concurrently. If any routine fails, whole process should be stopped and operation fail. Unleash power of https://pkg.go.dev/golang.org/x/sync/errgroup#Group for this ## Describe alternatives you've considered keep single threading ## Additional context #526
Author
Owner

@roman-khimov commented on GitHub (Aug 6, 2025):

Practically multirule policies are rare. At least for now. Then we also want initial placement policies that simplify initial PUT (and background "fixing" is not a big concern).

@roman-khimov commented on GitHub (Aug 6, 2025): Practically multirule policies are rare. At least for now. Then we also want initial placement policies that simplify initial PUT (and background "fixing" is not a big concern).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#1473
No description provided.