frostfs-node/pkg/services
Leonard Lyubich 096acb2a44 [#580] v2/object/put: Check payload size of the relayed objects
NeoFS network dictates the limitation of the maximum size of the "finished"
objects. The payload size of an object is recorded in its header. When
writing finished objects, the nodes must check:

  * satisfying the constraint;
  * matching the value in the header to the number of payload bytes.

Provide value returned by `MaxSizeSource` component to `validatingTarget`.
Check max size value during the stream of the "finished" objects. Check
header value during the streaming and on-close. Check payload size in v2
relay scenario.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-09 12:08:37 +03:00
..
accounting [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
audit [#570] *: Remove usage of deprecated elements from API Go library 2021-05-31 20:45:15 +03:00
container [#570] *: Use generator of test container IDs from API Go lib 2021-05-31 20:45:15 +03:00
control [#521] Recompile protobuf files after transition from pkg/errors 2021-05-19 19:09:35 +03:00
id [#11] Trim the old functionality 2020-10-02 11:22:55 +03:00
netmap [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
object [#580] v2/object/put: Check payload size of the relayed objects 2021-06-09 12:08:37 +03:00
object_manager [#570] *: Remove usage of deprecated elements from API Go library 2021-05-31 20:45:15 +03:00
policer [#217] object/policer: Leave readability instead of performance comment 2021-02-24 20:59:14 +03:00
replicator [#186] replicator: Use new storage engine for work 2020-12-11 17:19:37 +03:00
reputation [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
session [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
util [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00