frostfs-node/pkg/innerring/processors/netmap
Leonard Lyubich 6a2ec21641 [#1681] ir/netmap: Check MAINTENANCE state in UpdateState
Storage node can be requested to be switched into `MAINTENANCE` state.
Inner Ring should accept such requests only if network configuration
allows it.

Make `Processor` of Netmap contract's notifications to depend on
`state.NetworkSettings`. Make `Processor.processUpdatePeer` to call
`MaintenanceModeAllowed` if notification event relates to `MAINTENANCE`
mode`. Share singe `state.NetworkSettings` provider in Inner Ring
application.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-10-05 11:41:49 +03:00
..
nodevalidation [#1681] ir/netmap: Require MAINTENANCE mode to be allowed by network 2022-10-05 11:41:49 +03:00
cleanup_table.go [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00
cleanup_table_test.go [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
handlers.go [#1320] English Check 2022-05-11 10:40:02 +03:00
internal_events.go [#1320] English Check 2022-05-11 10:40:02 +03:00
process_cleanup.go [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
process_epoch.go [#1513] Upgrade NeoFS SDK Go with changed netmap package 2022-06-17 15:53:18 +03:00
process_peers.go [#1681] ir/netmap: Check MAINTENANCE state in UpdateState 2022-10-05 11:41:49 +03:00
processor.go [#1681] ir/netmap: Check MAINTENANCE state in UpdateState 2022-10-05 11:41:49 +03:00