frostfs-node/pkg/services
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
..
accounting [#122] Reduce precision from balance contract to Fixed8. 2020-10-29 10:14:59 +03:00
audit [#291] Remove some unused code from repository 2020-12-30 10:27:53 +03:00
container [#317] morph/client: Return complete eACL signature from contract 2021-01-15 16:25:49 +03:00
control [#315] control: Implement SetNetmapStatus on Server 2021-01-15 17:46:12 +03:00
id [#11] Trim the old functionality 2020-10-02 11:22:55 +03:00
netmap [#339] services/netmap: Use dynamic node information 2021-01-25 17:13:46 +03:00
object [#350] object/acl: Make best effort to classify request 2021-01-27 20:18:33 +03:00
object_manager [#234] core/netmap: Extend Source interface 2021-01-12 19:19:11 +03:00
policer [#250] service/policer: Don't shrink node list at unknown error 2020-12-14 21:49:50 +03:00
replicator [#186] replicator: Use new storage engine for work 2020-12-11 17:19:37 +03:00
session [#174] Use Marshal(JSON)/Unmarshal(JSON) methods for encoding/decoding 2020-11-17 11:56:00 +03:00
util [#302] Fix golint underscore linter errors 2021-01-12 18:47:02 +03:00