frostfs-node/pkg/services/control/server
Leonard Lyubich 60e9de8d63 [#1916] control: Check maintenance allowance on Control server
In previous implementation turning to maintenance mode using NeoFS CLI
required NeoFS API endpoint. This was not convenient from the user
perspective. It's worth to move networks settings' check to the server
side.

Add `force_maintenance` field to `SetNetmapStatusRequest.Body` message
of Control API. Add `force` flag to `neofs-cli control set-status`
command which sets corresponding field in the requests body if status is
`maintenance`. Force flag is ignored for any other status.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-24 09:20:24 +04:00
..
dump.go [#1418] shard: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
evacuate.go [#1867] services/control: Interpret empty list of IDs as all shards 2022-10-12 11:20:48 +03:00
flush_cache.go [#1867] services/control: Interpret empty list of IDs as all shards 2022-10-12 11:20:48 +03:00
gc.go [#1616] engine: Do not use batches in delete 2022-09-15 10:28:48 +03:00
healthcheck.go [#312] control/server: Extended HealthChecker interface 2021-01-15 16:52:08 +03:00
helpers.go [#1867] services/control: Interpret empty list of IDs as all shards 2022-10-12 11:20:48 +03:00
list_shards.go [#1840] blobstor: Return info about all components 2022-10-10 11:14:55 +03:00
restore.go [#1418] shard: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
server.go [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
set_netmap_status.go [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
set_shard_mode.go [#1931] control: Allow to clear errors in SetShardMode RPC 2022-10-20 15:51:31 +03:00
sign.go [#1624] go.mod: Update dependencies 2022-07-25 16:56:02 +03:00
syncronize_tree.go [#1333] services/control: Allow to synchronize local trees 2022-07-21 15:08:24 +03:00