frostfs-node/pkg/services
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
..
accounting [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
audit [#1365] ir: Check homomorphic hash flexibly in audit 2022-07-13 17:10:06 +03:00
container [#1628] node: Move common `EACLSource` interface to `core` pkg 2022-09-13 10:33:50 +03:00
control [#1793] node: Serve `NetmapService.NetmapSnapshot` RPC 2022-09-27 09:03:17 +03:00
netmap [#1793] node/netmap: Change interface of the latest network map reader 2022-09-27 09:03:17 +03:00
notificator [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
object [#1628] node: Move common `EACLSource` interface to `core` pkg 2022-09-13 10:33:50 +03:00
object_manager [#1674] *: Expire entities after the expiration epoch 2022-09-12 19:56:59 +04:00
policer [#1731] services/replicator: Unify Task interface with other parameters 2022-09-24 13:47:48 +03:00
replicator [#1731] services/replicator: Unify Task interface with other parameters 2022-09-24 13:47:48 +03:00
reputation [#1687] *: Perform `go fmt` using go `v1.19` 2022-08-22 18:59:57 +03:00
session [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
tree [#1793] node: Serve `NetmapService.NetmapSnapshot` RPC 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