frostfs-node/cmd
Leonard Lyubich 93742d37b7 [#1793] node/netmap: Change interface of the latest network map reader
Replace `ProcessCurrentNetMap` method of `NodeState` interface with
`ReadCurrentNetMap` one with two changes:
 * Replace network map type from NeoFS SDK package with the
   protocol-generated message. This replaces all the business logic to
   the application layer.
 * Support error return. This allows to cover problem node states.

Return an error from `NodeState.ReadCurrentNetMap` method implemeted
through `atomic.Value` if `Store` method has not been called yet.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-27 09:03:17 +03:00
..
neofs-adm [#1793] node: Serve `NetmapService.NetmapSnapshot` RPC 2022-09-27 09:03:17 +03:00
neofs-cli [#1793] node: Serve `NetmapService.NetmapSnapshot` RPC 2022-09-27 09:03:17 +03:00
neofs-ir [#1654] ir, node: Drop deprecated `profiler` and `metrics` config sections 2022-08-04 15:38:35 +03:00
neofs-lens [#1714] lens: Add `open*COMPONENT*` funcs 2022-09-06 18:09:18 +04:00
neofs-node [#1793] node/netmap: Change interface of the latest network map reader 2022-09-27 09:03:17 +03:00