frostfs-node/cmd/neofs-node
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
..
config [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
reputation [#1770] logger: Refactor Logger component 2022-10-12 18:11:05 +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 [#1329] tree: Sync trees when a node first time appears in a container 2022-10-21 18:47:56 +03:00
container.go [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
control.go [#1902] tree: Allow synchronize all the container trees 2022-10-20 16:17:57 +03:00
grpc.go [#1770] logger: Refactor Logger component 2022-10-12 18:11:05 +03:00
main.go [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
metrics.go [#1602] config: Rename metrics and profiler sections 2022-07-18 19:41:22 +03:00
morph.go [#1846] neofs-node: Make morph.cache_ttl equal to block time by default 2022-10-07 10:34:55 +03:00
netmap.go [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
notificator.go [#1910] .golangci.yml: Add misspell linker 2022-10-18 15:08:26 +03:00
object.go [#1680] service/object: Fail all operations in maintenance mode 2022-10-14 13:54:32 +04:00
pprof.go [#1602] config: Enable metrics and profiler services with a flag 2022-07-18 19:41:22 +03:00
reputation.go [#1770] logger: Refactor Logger component 2022-10-12 18:11:05 +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 [#1329] tree: Sync trees when a node first time appears in a container 2022-10-21 18:47:56 +03:00
validate.go [#1770] node: Validate logger config section 2022-10-12 18:11:05 +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