frostfs-node/cmd/neofs-node
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
..
config [#969] node: Do not require shard config in relay mode 2021-11-15 06:47:25 +03:00
reputation *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
accounting.go [#607] cmd/node: Serve gRPC on multiple interfaces 2021-06-28 15:52:50 +03:00
attributes.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
cache.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
config.go [#969] node: Do not require shard config in relay mode 2021-11-15 06:47:25 +03:00
container.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
control.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
grpc.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
main.go [#815] node: Make notary deposit before bootstrap 2021-09-13 14:50:52 +03:00
metrics.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
morph.go [#873] node: Use dynamic notary deposit duration 2021-10-15 12:22:25 +03:00
netmap.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
object.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
pprof.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
reputation.go [#812] cmd/neofs-node: Support notary notifications in reputation service 2021-09-13 14:51:07 +03:00
session.go [#607] cmd/node: Serve gRPC on multiple interfaces 2021-06-28 15:52:50 +03:00
timers.go [#873] node: Delete useless notary timer 2021-10-15 12:22:25 +03:00
worker.go [#108] cmd/neofs-node: Listen new epoch notifications from morph 2020-10-21 14:42:51 +03:00