frostfs-node/pkg
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
..
core [#1628] node: Move common EACLSource interface to core pkg 2022-09-13 10:33:50 +03:00
innerring [#1674] *: Expire entities after the expiration epoch 2022-09-12 19:56:59 +04:00
local_object_storage [#1764] neofs-node: Use constants for storage types 2022-09-27 08:57:20 +03:00
metrics [#1658] metrics: Add object type label to the counters 2022-09-13 21:32:37 +04:00
morph [#1793] node: Serve NetmapService.NetmapSnapshot RPC 2022-09-27 09:03:17 +03:00
network [#1793] node: Serve NetmapService.NetmapSnapshot RPC 2022-09-27 09:03:17 +03:00
services [#1793] node/netmap: Change interface of the latest network map reader 2022-09-27 09:03:17 +03:00
util [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00