frostfs-node/pkg/services/object
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
..
acl [#570] *: Use generator of test container IDs from API Go lib 2021-05-31 20:45:15 +03:00
delete [#570] *: Remove usage of deprecated elements from API Go library 2021-05-31 20:45:15 +03:00
get [#570] *: Use generator of test container IDs from API Go lib 2021-05-31 20:45:15 +03:00
head [#549] network/cache: Change Get signature 2021-05-27 17:07:04 +03:00
put [#580] v2/object/put: Check payload size of the relayed objects 2021-06-09 12:08:37 +03:00
search [#570] *: Use generator of test container IDs from API Go lib 2021-05-31 20:45:15 +03:00
util [#570] *: Remove usage of deprecated elements from API Go library 2021-05-31 20:45:15 +03:00
metrics.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
response.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
server.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
sign.go [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
transport_splitter.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00