frostfs-node/cmd/neofs-node
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
..
config [#1764] neofs-node: Use constants for storage types 2022-09-27 08:57:20 +03:00
reputation [#1570] Upgrade NeoFS SDK Go with changed reputation API 2022-07-06 18:21:24 +03:00
accounting.go [#625] client/balance: remove intermediate wrapper 2022-02-08 09:43:54 +03:00
attributes.go [#1513] Upgrade NeoFS SDK Go with changed `netmap` package 2022-06-17 15:53:18 +03:00
cache.go [#1628] node: Move common `EACLSource` interface to `core` pkg 2022-09-13 10:33:50 +03:00
config.go [#1793] node/netmap: Change interface of the latest network map reader 2022-09-27 09:03:17 +03:00
container.go [#1628] node: Move common `EACLSource` interface to `core` pkg 2022-09-13 10:33:50 +03:00
control.go [#1731] services/control: Replicate object over network in EvacuateShard RPC 2022-09-24 13:47:48 +03:00
grpc.go [#1270] neofs-node: Add timeout for grpc GracefulStop() 2022-03-25 17:39:24 +03:00
main.go [#1764] neofs-node: Allow to check configuration 2022-09-27 08:57:20 +03:00
metrics.go [#1602] config: Rename `metrics` and `profiler` sections 2022-07-18 19:41:22 +03:00
morph.go [#1763] node/netmap: Write log message about parsed NewEpoch event 2022-09-12 09:53:05 +04:00
netmap.go [#1793] node: Serve `NetmapService.NetmapSnapshot` RPC 2022-09-27 09:03:17 +03:00
notificator.go [#1418] engine: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
object.go [#1731] services/control: Replicate object over network in EvacuateShard RPC 2022-09-24 13:47:48 +03:00
pprof.go [#1602] config: Enable `metrics` and `profiler` services with a flag 2022-07-18 19:41:22 +03:00
reputation.go [#1570] Upgrade NeoFS SDK Go with changed reputation API 2022-07-06 18:21:24 +03:00
session.go [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
timers.go [#1210] reputation: Resolve race condition 2022-03-16 17:18:30 +03:00
tree.go [#1628] tree: Make ACL checks the same way as for object requests 2022-09-13 10:33:50 +03:00
validate.go [#1764] neofs-node: Validate config before usage 2022-09-27 08:57:20 +03:00
validate_test.go [#1764] neofs-node: Validate config before usage 2022-09-27 08:57:20 +03:00
worker.go [#108] cmd/neofs-node: Listen new epoch notifications from morph 2020-10-21 14:42:51 +03:00