neofs-node
neofs-node copied to clipboard
SN starts refusing to save some objects after `MaxObjectSize` increase
MaxObjectSize
network setting limits payload size of physically stored NeoFS objects. Storage nodes deny bigger objects. By default, value is 64M
. It may be increased by the IR
Expected Behavior
objects not bigger than the current setting are always accepted
Current Behavior
objects with payload bigger than the starttime limit are denied after config increase in runtime
Possible Solution
listen to net config changes and tune server according to it
Steps to Reproduce (for bugs)
see test. Briefly:
- start network with
L1 = 64M
object payload limit - increase the limit to any
L2 > L1
- try to store object of any size
> L1
Context
https://github.com/nspcc-dev/neofs-node/blob/450c4e5ed85f77dc77a13625337d71f7d97fa9ef/cmd/neofs-node/grpc.go#L60-L61
Regression
no
Your Environment
- Version used:
[email protected]