Support disabled mode in frostfs-cli control shards set-mode #917
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#917
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
EDIT by @fyrchik :
Changing the config has some problems: in particular not being able to easily wait for completion.
control
service command will solve this problem.While we are here, let's also take care about shard-modes.md document.
We should mention possible problems with this appoach: configuration represents the desireable state, thus any restart/SIGHUP will lose control service changes.
We can disable a shard until it gets really disabled, not caring about service changes reset?
It looks like a kludge, because now the "configuration" includes both files on disk and some transient state.
We should also NOT write to the configuration, this defeats the purpose of the configuration.
The kludge is also not needed IMO, we do this purely to simplify usage in some scenarios.
frostfs-cli control shards detach
command #945See #945 description for details