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 (Get/Head/GetRange) #2896

Merged
merged 3 commits into from
Aug 7, 2024

Commits on Jul 24, 2024

  1. object/get: Refactor storage policy processing

    Continues 2f29338 for `ObjectService`'s
    `Get`/`Head`/`GetRange` server handlers.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    803e9a4 View commit details
    Browse the repository at this point in the history
  2. node/policy: Cache object policy application results

    Continues 10d05a4 for sorting container
    nodes for objects.
    
    Since each container may include plenty of objects, cache size limit is
    chosen - again heuristically - 10 times bigger, i.e. 10K.
    
    Refs #2692.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    5389a1e View commit details
    Browse the repository at this point in the history
  3. node/policy: Test functions selecting nodes for container and objects

    They are vendored by NeoFS SDK, but the reaction to their unexpected
    behavior also needs to be tested.
    
    Signed-off-by: Leonard Lyubich <[email protected]>
    cthulhu-rider committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    8b82bbd View commit details
    Browse the repository at this point in the history