frostfs-node/cmd/neofs-node/config/engine
Leonard Lyubich fb89d29574 [#969] node: Do not require shard config in relay mode
Relay storage node doesn't exec local object operations, so it doesn't need
shard configuration.

Add `required` bool parameter to `engineconfig.IterateShards`. Make it to
panic if it is `true`, and immediately return otherwise. Pass `false` if
node is configured as relay in app (it also prevents panic).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-11-15 06:47:25 +03:00
..
shard [#857] config: use size suffixes where possible 2021-10-08 11:26:24 +03:00
config.go [#969] node: Do not require shard config in relay mode 2021-11-15 06:47:25 +03:00
config_test.go [#969] node: Do not require shard config in relay mode 2021-11-15 06:47:25 +03:00