frostfs-node/pkg
Evgenii Stratonikov 7502b9f07a
All checks were successful
DCO action / DCO (pull_request) Successful in 10m57s
Vulncheck / Vulncheck (pull_request) Successful in 12m22s
Build / Build Components (1.20) (pull_request) Successful in 13m53s
Build / Build Components (1.21) (pull_request) Successful in 13m49s
Tests and linters / Staticcheck (pull_request) Successful in 15m4s
Tests and linters / Lint (pull_request) Successful in 20m4s
Tests and linters / Tests (1.21) (pull_request) Successful in 2m19s
Tests and linters / Tests with -race (pull_request) Successful in 3m51s
Tests and linters / Tests (1.20) (pull_request) Successful in 15m44s
[#931] morph: Provide batch size for container listing explicitly
Besides VM stack item limit we also have restrictions on the size of
JSON for a stackitem, which is 128k. This limit is much harder to
calculate, because JSON representation includes type and the encoding is
different for different items. Thus is makes no sense to invent our own
default, so use the one provided by neo-go. But for container listing we
know exactly what we process, so use big enough value, which is tested.

Introduced in be8607a1f6.

Refs #902
Refs https://github.com/nspcc-dev/neo-go/blob/v0.105.0/pkg/vm/stackitem/json.go#L353

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-25 11:21:00 +03:00
..
ape/chainbase [#898] control: Fix codes for returning APE errors 2024-01-11 12:31:31 +00:00
core [#825] policer: Do not drop required linking objects 2023-12-12 11:04:03 +00:00
innerring [#895] test: Fix NewLogger arguments list 2024-01-11 12:32:09 +00:00
local_object_storage [#927] metabase: Delete GC marks 2024-01-24 18:51:16 +03:00
metrics [#864] engine: Drop container count metric if container removed 2024-01-10 10:45:32 +03:00
morph [#931] morph: Provide batch size for container listing explicitly 2024-01-25 11:21:00 +03:00
network [#884] cli: Fix error message for undefined endpoint 2024-01-10 10:02:16 +00:00
services [#919] ape: Improve error messages in ape service 2024-01-23 08:11:24 +00:00
tracing [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
util [#895] test: Use zaptest logger 2024-01-11 12:32:09 +00:00