frostfs-node/pkg
Alex Vanin e252f93dbf [#350] object/acl: Make best effort to classify request
Classifier looks at list of inner ring nodes and container
nodes from current and previous epoch to classify request.
Sometimes these checks might return error.

Consider there is a request from unknown key and container's
placement policy valid for current epoch and invalid for past
epoch. Classifier tries to find if key belongs to container
node from current epoch -- it is not. Then it tries to find if
key belongs to container node from past epoch and it throws
error, because placement policy is invalid for past epoch.

This is a legit case and classifier should ignore such errors
to provide best effort in matching. The only error classifier
should return is an error when request does not contain
public key to classify it.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-01-27 20:18:33 +03:00
..
core [#319] Do not return payload formatting error on regular objects 2021-01-15 16:01:29 +03:00
innerring [#349] innerring/audit: Use pivot in container placement 2021-01-27 11:18:36 +03:00
local_object_storage [#334] engine: Make tests more predictable 2021-01-21 11:00:23 +03:00
morph [#317] morph/client: Return complete eACL signature from contract 2021-01-15 16:25:49 +03:00
network [#302] Fix whitespace linter errors 2021-01-12 18:47:02 +03:00
policy [#302] Fix exhaustive linter errors 2021-01-12 18:47:02 +03:00
services [#350] object/acl: Make best effort to classify request 2021-01-27 20:18:33 +03:00
util [#290] util: Implement salting writer 2021-01-11 18:40:59 +03:00