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