frostfs-node/cmd/neofs-node
Leonard Lyubich 4c94faac67 [#1797] node/control: Verify states in SetNetmapStatus RPC server
In previous implementation storage node interpreted all status values
sent in `SetNetmapStatus` RPC as `OFFLINE` except `ONLINE` and
`MAINTENANCE`. This could lead to incorrect processing of new values,
and also didn't allow detection of problems with sending garbage values.

Make implementation of `NodeState` interface used by Control API server
to deny requests with statuses other than protocol-declared enum.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-10-05 11:41:49 +03:00
..
config [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
reputation [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +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 [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +03:00
container.go [#1817] network: Allow to use network addresses from the iterator 2022-10-04 12:12:18 +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 [#1770] node: Support configuration reread on SIGHUP 2022-10-04 10:08:55 +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 [#1797] node/control: Verify states in SetNetmapStatus RPC server 2022-10-05 11:41:49 +03:00
notificator.go [#1418] engine: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
object.go [#1697] services/object: Return proper error if session token is missing 2022-09-30 16:13:01 +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