Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache storage policy application results (Put) #2901

Merged
merged 2 commits into from
Aug 30, 2024

Commits on Aug 21, 2024

  1. object/put: Refactor storage policy processing

    Continues 2f29338 for `ObjectService`'s
    `Put` server handler. opens the stage for optimizations of storage policy
    imposition. Previously, node selection was hidden behind placement traverser
    interface. currently, processing a single request requires preselection of
    container nodes in unsorted form and, in general w/ slicing, several sorts to
    place the resulting objects. In the previous code structure, cache optimization
    would be less seamless. Also, this refactor reveals the entire placement logic
    by removing unnecessary abstraction.
    
    Implementation is pretty massive, so unit tests for various scenarios are
    added.
    
    Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
    cthulhu-rider committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    5076fe2 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. node/object: Cache object policy application results for Put service

    Continues 5389a1e for `ObjectService`'s
    `Put` server handler. It shares the cache with other object processors.
    
    Refs #1803.
    
    Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
    cthulhu-rider committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    2bb75dd View commit details
    Browse the repository at this point in the history